Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001056/0.001056, 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.001336/0.001336, allocations: 182.1 kB / 16.92 MB, free: 6.922 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003493, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6602/0.6606, allocations: 142.4 MB / 0.9557 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.007474/0.6681, allocations: 7.834 MB / 0.9634 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.8544, allocations: 150.6 MB / 1.11 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.8568, allocations: 39.75 kB / 1.11 GB, free: 468 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004439/0.8613, allocations: 0.972 MB / 1.111 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.8672, allocations: 0.9085 MB / 1.112 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004738/0.872, allocations: 1.453 MB / 1.114 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005987/0.878, allocations: 4.72 MB / 1.118 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002596/0.8806, allocations: 1.749 MB / 1.12 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.8832, allocations: 1.533 MB / 1.122 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.8854, allocations: 1.337 MB / 1.123 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006299/0.8861, allocations: 100 kB / 1.123 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.8882, allocations: 0.8663 MB / 1.124 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009981/0.8892, allocations: 0.6379 MB / 1.124 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.8913, allocations: 1.372 MB / 1.126 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.8959, allocations: 4.26 MB / 1.13 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8959, allocations: 0 / 1.13 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.043e-06/0.8959, allocations: 0 / 1.13 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001586/0.8961, allocations: 0 / 1.13 GB, free: 12.46 MB / 0.8887 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.00906/0.9051, allocations: 3.488 MB / 1.133 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.9052, allocations: 8.031 kB / 1.133 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008664/0.9139, allocations: 1.647 MB / 1.135 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005574/0.9195, allocations: 2.593 MB / 1.137 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.9198, allocations: 185.6 kB / 1.138 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008609/0.9207, allocations: 216 kB / 1.138 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/0.9295, allocations: 3.342 MB / 1.141 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.9296, allocations: 8 kB / 1.141 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004452/0.93, allocations: 80 kB / 1.141 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.9301, allocations: 48 kB / 1.141 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009983/0.9401, allocations: 4.015 MB / 1.145 GB, free: 12.62 MB / 0.9044 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.02218/0.9623, allocations: 10.22 MB / 1.155 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007973/0.9703, allocations: 2.931 MB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/0.9737, allocations: 1.383 MB / 1.159 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007708/0.9745, allocations: 499 kB / 1.16 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003813/0.9784, allocations: 1.633 MB / 1.161 GB, free: 11.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=166): time 5.42e-06/0.9784, allocations: 0 / 1.161 GB, free: 11.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=166): time 0.01321/0.9916, allocations: 4.765 MB / 1.166 GB, free: 6.723 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.9918, allocations: 209.2 kB / 1.166 GB, free: 6.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005957/0.9977, allocations: 3.169 MB / 1.169 GB, free: 3.285 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003602/0.9981, allocations: 61.7 kB / 1.169 GB, free: 3.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.9995, allocations: 1.135 MB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007795/1, allocations: 0.543 MB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/1.001, allocations: 177.6 kB / 1.171 GB, free: 1.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/1.001, allocations: 301.1 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.004, allocations: 1.382 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/1.008, allocations: 1.784 MB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/1.015, allocations: 3.002 MB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.015, allocations: 0 / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009837/1.025, allocations: 3.742 MB / 1.181 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/1.025, allocations: 8 kB / 1.181 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/1.025, allocations: 12 kB / 1.181 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/1.027, allocations: 391 kB / 1.182 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.03, allocations: 0.546 MB / 1.182 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/1.035, allocations: 5.384 MB / 1.187 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/1.039, allocations: 0.499 MB / 1.188 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/1.039, allocations: 95.88 kB / 1.188 GB, free: 15.46 MB / 0.9512 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.002379/1.042, allocations: 1.124 MB / 1.189 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00087/1.043, allocations: 244.9 kB / 1.189 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009648/1.052, allocations: 3.575 MB / 1.193 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.052, allocations: 23.98 kB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.052, allocations: 0 / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/1.052, allocations: 11.97 kB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/1.057, allocations: 2.963 MB / 1.196 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/1.058, allocations: 4 kB / 1.196 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.06, allocations: 431.3 kB / 1.196 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/1.062, allocations: 383 kB / 1.197 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/1.062, allocations: 63.94 kB / 1.197 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/1.067, allocations: 5.39 MB / 1.202 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.067, allocations: 8 kB / 1.202 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.08, allocations: 4.941 MB / 1.207 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.082, allocations: 0.8213 MB / 1.207 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007978/1.083, allocations: 39.98 kB / 1.208 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.085, allocations: 333.3 kB / 1.208 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/1.086, allocations: 141.7 kB / 1.208 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.086, allocations: 67.95 kB / 1.208 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004311/1.09, allocations: 2.255 MB / 1.21 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/1.09, allocations: 0 / 1.21 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002997/1.093, allocations: 0.8419 MB / 1.211 GB, free: 7.23 MB / 0.9669 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.001924/1.095, allocations: 0.7047 MB / 1.212 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007908/1.103, allocations: 3.403 MB / 1.215 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.103, allocations: 0 / 1.215 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004048/1.107, allocations: 1.836 MB / 1.217 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/1.112, allocations: 0.7459 MB / 1.218 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.128, allocations: 7.838 MB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/1.13, allocations: 2.232 MB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.132, allocations: 251.3 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/1.132, allocations: 3.938 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of Templates: time 0.592/1.724, allocations: 112.2 MB / 1.337 GB, free: 203.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches