Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001373/0.001373, allocations: 100.1 kB / 15.88 MB, free: 12 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.001559/0.001559, allocations: 199 kB / 16.79 MB, free: 6.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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437 MB / 0.7106 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 59.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7348, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01712/0.752, allocations: 9.813 MB / 1.027 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.9314, allocations: 152.4 MB / 1.176 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.9336, allocations: 35.81 kB / 1.176 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.9378, allocations: 1.019 MB / 1.177 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.9415, allocations: 1.022 MB / 1.178 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.9455, allocations: 1.46 MB / 1.179 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00576/0.9513, allocations: 4.958 MB / 1.184 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.9537, allocations: 1.731 MB / 1.186 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.9566, allocations: 1.76 MB / 1.187 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.9591, allocations: 1.599 MB / 1.189 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007398/0.9598, allocations: 176 kB / 1.189 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.963, allocations: 0.9483 MB / 1.19 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.9645, allocations: 0.7589 MB / 1.191 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00439/0.9689, allocations: 1.554 MB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007177/0.9761, allocations: 4.428 MB / 1.197 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9761, allocations: 0 / 1.197 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9761, allocations: 0 / 1.197 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000201/0.9763, allocations: 0 / 1.197 GB, free: 10.44 MB / 0.9512 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.0106/0.9869, allocations: 4.112 MB / 1.201 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.987, allocations: 8.031 kB / 1.201 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008182/0.9952, allocations: 1.581 MB / 1.202 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/1, allocations: 2.585 MB / 1.205 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/1.001, allocations: 193.6 kB / 1.205 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006018/1.001, allocations: 204 kB / 1.205 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007422/1.009, allocations: 3.315 MB / 1.208 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/1.009, allocations: 7.938 kB / 1.208 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/1.009, allocations: 87.92 kB / 1.208 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/1.009, allocations: 48 kB / 1.208 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009053/1.018, allocations: 3.96 MB / 1.212 GB, free: 10.14 MB / 0.9669 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.02146/1.04, allocations: 10.51 MB / 1.223 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007164/1.047, allocations: 2.916 MB / 1.225 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003015/1.05, allocations: 1.383 MB / 1.227 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007398/1.051, allocations: 495 kB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/1.054, allocations: 1.625 MB / 1.229 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 5.66e-06/1.054, allocations: 3.938 kB / 1.229 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01233/1.066, allocations: 4.734 MB / 1.234 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.067, allocations: 201.2 kB / 1.234 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006407/1.073, allocations: 3.169 MB / 1.237 GB, free: 488 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/1.074, allocations: 61.7 kB / 1.237 GB, free: 420 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.075, allocations: 1.127 MB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009907/1.076, allocations: 0.5468 MB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/1.077, allocations: 427.2 kB / 1.239 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.077, allocations: 305.1 kB / 1.239 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/1.081, allocations: 1.374 MB / 1.241 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/1.084, allocations: 1.776 MB / 1.242 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006562/1.091, allocations: 2.983 MB / 1.245 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/1.091, allocations: 11.94 kB / 1.245 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009568/1.101, allocations: 3.722 MB / 1.249 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.101, allocations: 8 kB / 1.249 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/1.101, allocations: 12 kB / 1.249 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/1.103, allocations: 395.2 kB / 1.249 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/1.105, allocations: 0.546 MB / 1.25 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5443/1.65, allocations: 5.386 MB / 1.255 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.654, allocations: 0.491 MB / 1.255 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006519/1.654, allocations: 94.08 kB / 1.256 GB, free: 223.4 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.002908/1.657, allocations: 1.117 MB / 1.257 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.658, allocations: 246.1 kB / 1.257 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/1.668, allocations: 3.563 MB / 1.26 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/1.668, allocations: 19.12 kB / 1.26 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.668, allocations: 0.8125 kB / 1.26 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/1.668, allocations: 8.766 kB / 1.26 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/1.673, allocations: 2.962 MB / 1.263 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.673, allocations: 0 / 1.263 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/1.675, allocations: 431.9 kB / 1.264 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/1.677, allocations: 385 kB / 1.264 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/1.677, allocations: 63.62 kB / 1.264 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004893/1.682, allocations: 5.392 MB / 1.269 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.682, allocations: 0.5 kB / 1.269 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.694, allocations: 4.915 MB / 1.274 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.696, allocations: 0.7906 MB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000839/1.697, allocations: 51.16 kB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/1.699, allocations: 322 kB / 1.275 GB, free: 214 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/1.7, allocations: 137.7 kB / 1.275 GB, free: 214 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.7, allocations: 69.2 kB / 1.276 GB, free: 214 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00341/1.703, allocations: 2.259 MB / 1.278 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.703, allocations: 0 / 1.278 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002719/1.706, allocations: 0.869 MB / 1.279 GB, free: 213.1 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.001573/1.708, allocations: 0.6976 MB / 1.279 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006734/1.714, allocations: 3.398 MB / 1.283 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.714, allocations: 0 / 1.283 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003113/1.717, allocations: 1.828 MB / 1.284 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/1.721, allocations: 0.7768 MB / 1.285 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.731, allocations: 7.558 MB / 1.293 GB, free: 205.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.732, allocations: 2.239 MB / 1.295 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.734, allocations: 251.3 kB / 1.295 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.734, allocations: 3.938 kB / 1.295 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.08873/1.822, allocations: 113.1 MB / 1.405 GB, free: 91.13 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches