Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.854/2.854, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 16.48 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2799, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006398/0.2864, allocations: 5.378 MB / 1.065 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1562/0.4426, allocations: 147 MB / 1.208 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009193/0.4436, allocations: 23.88 kB / 1.208 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.4443, allocations: 162.7 kB / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.4465, allocations: 0.5625 MB / 1.209 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.4487, allocations: 0.855 MB / 1.21 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.451, allocations: 1.862 MB / 1.212 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.4522, allocations: 0.7356 MB / 1.212 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008561/0.4531, allocations: 497.8 kB / 1.213 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009119/0.454, allocations: 0.5831 MB / 1.213 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.4542, allocations: 44 kB / 1.213 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.4553, allocations: 0.4917 MB / 1.214 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.4557, allocations: 294.8 kB / 1.214 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007138/0.4564, allocations: 0.6385 MB / 1.215 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.4581, allocations: 1.586 MB / 1.216 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4581, allocations: 3.938 kB / 1.216 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4581, allocations: 0 / 1.216 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.645e-05/0.4581, allocations: 0 / 1.216 GB, free: 3.598 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003164/0.4613, allocations: 1.536 MB / 1.218 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4614, allocations: 8.031 kB / 1.218 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009731/0.4711, allocations: 1.567 MB / 1.219 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.4729, allocations: 0.9613 MB / 1.22 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-05/0.473, allocations: 90.45 kB / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.4733, allocations: 116 kB / 1.22 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/0.4789, allocations: 2.159 MB / 1.223 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.4789, allocations: 0 / 1.223 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.4791, allocations: 55.98 kB / 1.223 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.4791, allocations: 28 kB / 1.223 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008087/0.4872, allocations: 3.014 MB / 1.226 GB, free: 9.887 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008846/0.4961, allocations: 4.816 MB / 1.23 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008472/0.5046, allocations: 3.008 MB / 1.233 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.508, allocations: 1.159 MB / 1.234 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/0.5087, allocations: 0.6141 MB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003789/0.5125, allocations: 1.473 MB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 2.815e-06/0.5125, allocations: 0 / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01182/0.5243, allocations: 3.727 MB / 1.24 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5244, allocations: 197.2 kB / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5254, allocations: 0.7706 MB / 1.241 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.5256, allocations: 53.7 kB / 1.241 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/0.526, allocations: 484.8 kB / 1.241 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005132/0.5265, allocations: 425.8 kB / 1.242 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.5268, allocations: 101.7 kB / 1.242 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5269, allocations: 353.9 kB / 1.242 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/0.5303, allocations: 1.084 MB / 1.243 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003427/0.5337, allocations: 1.206 MB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006536/0.5403, allocations: 2.157 MB / 1.247 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5403, allocations: 0 / 1.247 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00776/0.5481, allocations: 2.553 MB / 1.249 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5481, allocations: 4 kB / 1.249 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5481, allocations: 11.97 kB / 1.249 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.5487, allocations: 80.84 kB / 1.249 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/0.5512, allocations: 495.4 kB / 1.25 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5179/1.069, allocations: 1.538 MB / 1.251 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.073, allocations: 354.2 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/1.073, allocations: 65.75 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009649/1.074, allocations: 339.7 kB / 1.252 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/1.075, allocations: 110.3 kB / 1.252 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009365/1.084, allocations: 2.955 MB / 1.255 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.084, allocations: 14.72 kB / 1.255 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.084, allocations: 0.8125 kB / 1.255 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/1.084, allocations: 7.172 kB / 1.255 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.096, allocations: 4.535 MB / 1.259 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.096, allocations: 0 / 1.259 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/1.099, allocations: 470.6 kB / 1.26 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/1.1, allocations: 87.83 kB / 1.26 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/1.1, allocations: 58.95 kB / 1.26 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.102, allocations: 1.556 MB / 1.262 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.102, allocations: 0.6562 kB / 1.262 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008163/1.11, allocations: 2.714 MB / 1.264 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.111, allocations: 445.6 kB / 1.265 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/1.111, allocations: 30.83 kB / 1.265 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.114, allocations: 303.5 kB / 1.265 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/1.114, allocations: 107.8 kB / 1.265 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.114, allocations: 65.12 kB / 1.265 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001095/1.115, allocations: 0.5551 MB / 1.266 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.115, allocations: 0.5625 kB / 1.266 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002049/1.117, allocations: 0.4892 MB / 1.266 GB, free: 185.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/1.119, allocations: 0.6441 MB / 1.267 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008631/1.128, allocations: 2.58 MB / 1.269 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.128, allocations: 0.5312 kB / 1.269 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004654/1.133, allocations: 1.425 MB / 1.271 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.135, allocations: 311.5 kB / 1.271 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/1.142, allocations: 3.573 MB / 1.274 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/1.142, allocations: 1.154 MB / 1.276 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.143, allocations: 200.1 kB / 1.276 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.143, allocations: 0 / 1.276 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03841/1.182, allocations: 28.35 MB / 1.303 GB, free: 166.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches