Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.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.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006518/0.006518, allocations: 101.3 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.828/2.828, allocations: 461.8 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 65.77 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4044, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01332/0.4177, allocations: 9.776 MB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.201/0.6188, allocations: 152.4 MB / 1.211 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.6216, allocations: 39.81 kB / 1.211 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.6259, allocations: 1.023 MB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.6306, allocations: 1.02 MB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004769/0.6353, allocations: 1.464 MB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007262/0.6426, allocations: 4.963 MB / 1.219 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.6458, allocations: 1.735 MB / 1.221 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.6493, allocations: 1.756 MB / 1.223 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.6524, allocations: 1.596 MB / 1.224 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.6535, allocations: 180 kB / 1.225 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.6565, allocations: 0.9444 MB / 1.225 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.658, allocations: 0.7511 MB / 1.226 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003341/0.6614, allocations: 1.55 MB / 1.228 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005776/0.6672, allocations: 4.436 MB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6672, allocations: 0 / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6672, allocations: 0 / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002097/0.6674, allocations: 0 / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.01097/0.6784, allocations: 4.107 MB / 1.236 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.6785, allocations: 15.97 kB / 1.236 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00785/0.6863, allocations: 1.581 MB / 1.238 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.6912, allocations: 2.593 MB / 1.24 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.6914, allocations: 189.6 kB / 1.24 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.6918, allocations: 212 kB / 1.241 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006755/0.6985, allocations: 3.311 MB / 1.244 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.6986, allocations: 0 / 1.244 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.6988, allocations: 87.98 kB / 1.244 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.6989, allocations: 51.94 kB / 1.244 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7828/1.482, allocations: 3.953 MB / 1.248 GB, free: 188.3 MB / 0.9981 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.02568/1.507, allocations: 10.52 MB / 1.258 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007964/1.515, allocations: 2.921 MB / 1.261 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003222/1.519, allocations: 1.377 MB / 1.262 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007205/1.519, allocations: 498.8 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0043/1.524, allocations: 1.618 MB / 1.264 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 5.22e-06/1.524, allocations: 2.969 kB / 1.264 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01493/1.539, allocations: 4.743 MB / 1.269 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.539, allocations: 199.4 kB / 1.269 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00747/1.546, allocations: 3.164 MB / 1.272 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008424/1.547, allocations: 68.45 kB / 1.272 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/1.549, allocations: 1.134 MB / 1.273 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009326/1.55, allocations: 0.5378 MB / 1.274 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008713/1.55, allocations: 424.5 kB / 1.274 GB, free: 182 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/1.55, allocations: 301.9 kB / 1.275 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/1.554, allocations: 1.374 MB / 1.276 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/1.558, allocations: 1.781 MB / 1.278 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006438/1.564, allocations: 2.983 MB / 1.281 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/1.564, allocations: 3.156 kB / 1.281 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00959/1.574, allocations: 3.723 MB / 1.284 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/1.574, allocations: 10.28 kB / 1.284 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/1.574, allocations: 11.09 kB / 1.284 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/1.576, allocations: 402.2 kB / 1.285 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/1.579, allocations: 0.5427 MB / 1.285 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00508/1.584, allocations: 5.392 MB / 1.29 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.588, allocations: 496.6 kB / 1.291 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006732/1.589, allocations: 96.95 kB / 1.291 GB, free: 170.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (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,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003446/1.592, allocations: 1.116 MB / 1.292 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.594, allocations: 251 kB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/1.604, allocations: 3.558 MB / 1.296 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/1.604, allocations: 17.88 kB / 1.296 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/1.604, allocations: 1.375 kB / 1.296 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/1.604, allocations: 12.84 kB / 1.296 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/1.611, allocations: 2.973 MB / 1.299 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/1.611, allocations: 0 / 1.299 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.613, allocations: 426.4 kB / 1.299 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/1.615, allocations: 383.8 kB / 1.3 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/1.616, allocations: 67.08 kB / 1.3 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/1.62, allocations: 5.393 MB / 1.305 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/1.62, allocations: 0 / 1.305 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.632, allocations: 4.924 MB / 1.31 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/1.635, allocations: 0.7864 MB / 1.31 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.636, allocations: 59.83 kB / 1.31 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/1.639, allocations: 315.5 kB / 1.311 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/1.639, allocations: 141.8 kB / 1.311 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/1.64, allocations: 67.95 kB / 1.311 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00557/1.645, allocations: 2.255 MB / 1.313 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.645, allocations: 0 / 1.313 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00426/1.65, allocations: 0.869 MB / 1.314 GB, free: 152.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (conExt[1].opa.lay[1].T[1],conExt[1].opa.lay[1].T[2],conExt[1].opa.lay[2].T[1],conExt[1].opa.lay[2].T[2],conExt[1].opa.lay[2].T[3]) * Number of discrete variables: 14 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 7 (bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/1.652, allocations: 0.7045 MB / 1.315 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007848/1.66, allocations: 3.397 MB / 1.318 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.66, allocations: 0 / 1.318 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003796/1.664, allocations: 1.824 MB / 1.32 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005504/1.669, allocations: 0.7716 MB / 1.321 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/1.684, allocations: 7.578 MB / 1.328 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/1.687, allocations: 2.23 MB / 1.33 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/1.689, allocations: 251.2 kB / 1.33 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.392e-06/1.689, allocations: 0 / 1.33 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.1163/1.805, allocations: 113.1 MB / 1.441 GB, free: 22.59 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches