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.0009752/0.0009753, allocations: 97.78 kB / 16.02 MB, free: 76 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.001254/0.001254, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.847/2.847, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 7.75 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4198, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.0128/0.4326, allocations: 9.255 MB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.6281, allocations: 150.8 MB / 1.216 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.6312, allocations: 43.69 kB / 1.216 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.6353, allocations: 1.015 MB / 1.217 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.6405, allocations: 1.012 MB / 1.218 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.6458, allocations: 1.464 MB / 1.219 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008231/0.654, allocations: 4.96 MB / 1.224 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003509/0.6576, allocations: 1.703 MB / 1.226 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.6612, allocations: 1.572 MB / 1.227 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.6643, allocations: 1.38 MB / 1.228 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009267/0.6653, allocations: 100 kB / 1.229 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.6683, allocations: 0.8702 MB / 1.229 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.6697, allocations: 0.6379 MB / 1.23 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00345/0.6732, allocations: 1.415 MB / 1.231 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006779/0.68, allocations: 4.318 MB / 1.236 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.68, allocations: 0 / 1.236 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.01e-06/0.68, allocations: 0 / 1.236 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002203/0.6802, allocations: 7.938 kB / 1.236 GB, free: 15.77 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.01105/0.6913, allocations: 3.519 MB / 1.239 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6914, allocations: 11.97 kB / 1.239 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008879/0.7002, allocations: 1.651 MB / 1.241 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/0.7074, allocations: 2.593 MB / 1.243 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.7078, allocations: 193.6 kB / 1.243 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.7089, allocations: 208 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009429/0.7183, allocations: 3.342 MB / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.7184, allocations: 11.92 kB / 1.247 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.7186, allocations: 87.94 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/0.7187, allocations: 48 kB / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8046/1.523, allocations: 4.009 MB / 1.251 GB, free: 185.7 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.02517/1.549, allocations: 10.57 MB / 1.261 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007719/1.556, allocations: 2.934 MB / 1.264 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/1.56, allocations: 1.391 MB / 1.265 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/1.56, allocations: 496.6 kB / 1.266 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00411/1.565, allocations: 1.625 MB / 1.267 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 3.877e-06/1.565, allocations: 0.8125 kB / 1.267 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01512/1.58, allocations: 4.783 MB / 1.272 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.58, allocations: 198.9 kB / 1.272 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007223/1.587, allocations: 3.163 MB / 1.275 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008134/1.588, allocations: 64.14 kB / 1.276 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.589, allocations: 1.127 MB / 1.277 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009943/1.59, allocations: 0.5481 MB / 1.277 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/1.591, allocations: 178.8 kB / 1.277 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/1.591, allocations: 306.1 kB / 1.278 GB, free: 179 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/1.594, allocations: 1.378 MB / 1.279 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003595/1.598, allocations: 1.786 MB / 1.281 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006766/1.604, allocations: 3.002 MB / 1.284 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/1.604, allocations: 2.5 kB / 1.284 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01004/1.614, allocations: 3.741 MB / 1.287 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/1.615, allocations: 10.34 kB / 1.287 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/1.615, allocations: 10.72 kB / 1.287 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/1.617, allocations: 386.7 kB / 1.288 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/1.62, allocations: 0.5576 MB / 1.288 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/1.624, allocations: 5.385 MB / 1.293 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/1.629, allocations: 0.5055 MB / 1.294 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005867/1.629, allocations: 94.66 kB / 1.294 GB, free: 168 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.002885/1.632, allocations: 1.124 MB / 1.295 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.633, allocations: 246.3 kB / 1.295 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00873/1.642, allocations: 3.577 MB / 1.299 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.642, allocations: 17.88 kB / 1.299 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.642, allocations: 3.984 kB / 1.299 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/1.642, allocations: 13.34 kB / 1.299 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004749/1.647, allocations: 2.964 MB / 1.302 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.647, allocations: 0 / 1.302 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002113/1.649, allocations: 436.1 kB / 1.302 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/1.651, allocations: 374.9 kB / 1.303 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002726/1.651, allocations: 59.12 kB / 1.303 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/1.656, allocations: 5.403 MB / 1.308 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.656, allocations: 0 / 1.308 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.668, allocations: 4.945 MB / 1.313 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.67, allocations: 0.8212 MB / 1.314 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.671, allocations: 51.92 kB / 1.314 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/1.674, allocations: 332.9 kB / 1.314 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/1.675, allocations: 141.7 kB / 1.314 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/1.675, allocations: 71.94 kB / 1.314 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004717/1.68, allocations: 2.255 MB / 1.316 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.68, allocations: 0 / 1.316 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003852/1.683, allocations: 0.8669 MB / 1.317 GB, free: 149.7 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.002272/1.686, allocations: 0.7033 MB / 1.318 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007683/1.693, allocations: 3.417 MB / 1.321 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.694, allocations: 4 kB / 1.321 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/1.697, allocations: 1.825 MB / 1.323 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/1.703, allocations: 0.7774 MB / 1.324 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.718, allocations: 7.682 MB / 1.331 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/1.72, allocations: 2.227 MB / 1.333 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.722, allocations: 255.3 kB / 1.334 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.984e-06/1.722, allocations: 0 / 1.334 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.1204/1.843, allocations: 112.7 MB / 1.444 GB, free: 20.21 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