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.001131/0.001131, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001415/0.001415, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.956/2.956, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 8.344 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4081, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01064/0.4188, allocations: 8.668 MB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2025/0.6214, allocations: 140.6 MB / 1.204 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.6247, allocations: 35.81 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004631/0.6294, allocations: 0.9641 MB / 1.205 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.6351, allocations: 0.9475 MB / 1.206 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005967/0.6411, allocations: 1.2 MB / 1.207 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008959/0.65, allocations: 4.488 MB / 1.211 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003917/0.654, allocations: 1.447 MB / 1.213 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.6578, allocations: 1.479 MB / 1.214 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.6613, allocations: 1.338 MB / 1.215 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001277/0.6626, allocations: 100 kB / 1.216 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.666, allocations: 0.8273 MB / 1.216 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.6678, allocations: 0.6342 MB / 1.217 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.6698, allocations: 0.5938 MB / 1.218 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007329/0.6771, allocations: 4.333 MB / 1.222 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.6772, allocations: 0 / 1.222 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.547e-06/0.6772, allocations: 0 / 1.222 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002462/0.6775, allocations: 0 / 1.222 GB, free: 13.07 MB / 0.9825 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.01123/0.6887, allocations: 3.562 MB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.6888, allocations: 12.03 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008263/0.697, allocations: 1.65 MB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007852/0.705, allocations: 2.524 MB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.7053, allocations: 201.6 kB / 1.23 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.7064, allocations: 207.9 kB / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009697/0.7161, allocations: 3.33 MB / 1.233 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.7162, allocations: 0 / 1.233 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.7165, allocations: 87.92 kB / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.7166, allocations: 51.94 kB / 1.233 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008903/0.7255, allocations: 3.999 MB / 1.237 GB, free: 13.25 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.02328/0.7488, allocations: 10.56 MB / 1.247 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8951/1.644, allocations: 2.902 MB / 1.25 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004546/1.649, allocations: 1.391 MB / 1.252 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/1.649, allocations: 493.4 kB / 1.252 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003968/1.653, allocations: 1.629 MB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 3.827e-06/1.653, allocations: 2.953 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01255/1.666, allocations: 4.755 MB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.666, allocations: 204.2 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006789/1.673, allocations: 3.14 MB / 1.262 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007732/1.674, allocations: 65.42 kB / 1.262 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.675, allocations: 1.129 MB / 1.263 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.676, allocations: 0.5465 MB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/1.676, allocations: 37.97 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.676, allocations: 382.4 kB / 1.264 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/1.68, allocations: 1.377 MB / 1.265 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/1.685, allocations: 1.774 MB / 1.267 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/1.689, allocations: 1.509 MB / 1.268 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/1.689, allocations: 3.156 kB / 1.268 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01106/1.7, allocations: 3.713 MB / 1.272 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/1.7, allocations: 10.78 kB / 1.272 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/1.7, allocations: 13 kB / 1.272 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/1.702, allocations: 391.3 kB / 1.272 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/1.705, allocations: 0.553 MB / 1.273 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/1.709, allocations: 5.385 MB / 1.278 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/1.713, allocations: 0.5071 MB / 1.278 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003941/1.714, allocations: 96.03 kB / 1.279 GB, free: 175.8 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 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 2 {1 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002837/1.717, allocations: 1.116 MB / 1.28 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.718, allocations: 243.2 kB / 1.28 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.728, allocations: 3.58 MB / 1.283 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/1.729, allocations: 23.83 kB / 1.283 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.729, allocations: 1.125 kB / 1.283 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/1.729, allocations: 15.52 kB / 1.283 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00698/1.736, allocations: 2.961 MB / 1.286 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.736, allocations: 0 / 1.286 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/1.738, allocations: 434.7 kB / 1.287 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/1.74, allocations: 379 kB / 1.287 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003092/1.74, allocations: 59.47 kB / 1.287 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005464/1.746, allocations: 5.405 MB / 1.292 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.746, allocations: 1.531 kB / 1.292 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.758, allocations: 4.923 MB / 1.297 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/1.761, allocations: 0.8162 MB / 1.298 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008458/1.761, allocations: 45.73 kB / 1.298 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.764, allocations: 336.6 kB / 1.298 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/1.764, allocations: 147.7 kB / 1.299 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.765, allocations: 65.14 kB / 1.299 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003654/1.768, allocations: 2.242 MB / 1.301 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.768, allocations: 0 / 1.301 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003603/1.772, allocations: 0.8668 MB / 1.302 GB, free: 162.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 2 {1 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/1.774, allocations: 0.6985 MB / 1.302 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006567/1.78, allocations: 3.403 MB / 1.306 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.78, allocations: 0 / 1.306 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003178/1.783, allocations: 1.829 MB / 1.307 GB, free: 159 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/1.787, allocations: 0.7778 MB / 1.308 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/1.798, allocations: 7.627 MB / 1.316 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.8, allocations: 2.353 MB / 1.318 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003404/1.803, allocations: 0.893 MB / 1.319 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009098/1.804, allocations: 223.3 kB / 1.319 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.804, allocations: 4 kB / 1.319 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.07345/1.878, allocations: 45.25 MB / 1.363 GB, free: 102.2 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/jenkins/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