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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001414/0.001414, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001606/0.001606, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6653 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 64.77 kB / 0.8132 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2481, allocations: 140.4 MB / 0.9503 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01089/0.259, allocations: 8.393 MB / 0.9585 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6429/0.9019, allocations: 154.5 MB / 1.109 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.904, allocations: 41.59 kB / 1.109 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.9074, allocations: 1.101 MB / 1.11 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.9107, allocations: 1.029 MB / 1.111 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.9151, allocations: 1.682 MB / 1.113 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0065/0.9216, allocations: 4.608 MB / 1.118 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.9244, allocations: 1.844 MB / 1.119 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.9279, allocations: 1.904 MB / 1.121 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.9314, allocations: 1.757 MB / 1.123 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.9327, allocations: 378.8 kB / 1.123 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.9356, allocations: 1.148 MB / 1.124 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.9369, allocations: 0.9777 MB / 1.125 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002745/0.9396, allocations: 1.732 MB / 1.127 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006722/0.9464, allocations: 5.381 MB / 1.132 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.9464, allocations: 0 / 1.132 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9464, allocations: 3.938 kB / 1.132 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001393/0.9466, allocations: 0.9688 kB / 1.132 GB, free: 1.098 MB / 0.8575 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.01199/0.9586, allocations: 4.067 MB / 1.136 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9586, allocations: 10.38 kB / 1.136 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008517/0.9672, allocations: 1.574 MB / 1.138 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00584/0.973, allocations: 2.59 MB / 1.14 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.9733, allocations: 194.3 kB / 1.141 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008577/0.9742, allocations: 212.2 kB / 1.141 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008016/0.9822, allocations: 3.325 MB / 1.144 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.9823, allocations: 0 / 1.144 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.9825, allocations: 83.66 kB / 1.144 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.9826, allocations: 47.25 kB / 1.144 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.9927, allocations: 3.965 MB / 1.148 GB, free: 13.45 MB / 0.8731 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.02203/1.015, allocations: 10.14 MB / 1.158 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007734/1.023, allocations: 2.919 MB / 1.161 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/1.026, allocations: 1.376 MB / 1.162 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/1.026, allocations: 499 kB / 1.163 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003478/1.03, allocations: 1.631 MB / 1.164 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=166): time 5.11e-06/1.03, allocations: 0 / 1.164 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166): time 0.01266/1.043, allocations: 4.738 MB / 1.169 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.043, allocations: 206.5 kB / 1.169 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/1.048, allocations: 3.163 MB / 1.172 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006933/1.049, allocations: 63.64 kB / 1.172 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.05, allocations: 1.134 MB / 1.173 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008568/1.051, allocations: 0.5466 MB / 1.174 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007786/1.052, allocations: 421 kB / 1.174 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/1.052, allocations: 309 kB / 1.175 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/1.055, allocations: 1.371 MB / 1.176 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/1.058, allocations: 1.778 MB / 1.178 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006402/1.065, allocations: 2.985 MB / 1.181 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/1.065, allocations: 2.844 kB / 1.181 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009286/1.074, allocations: 3.714 MB / 1.184 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/1.074, allocations: 16.61 kB / 1.184 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/1.074, allocations: 10.41 kB / 1.184 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/1.076, allocations: 395.2 kB / 1.185 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1.079, allocations: 0.5479 MB / 1.185 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/1.084, allocations: 5.726 MB / 1.191 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/1.088, allocations: 488.2 kB / 1.191 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/1.089, allocations: 92.31 kB / 1.191 GB, free: 320 kB / 0.8887 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.002544/1.091, allocations: 1.118 MB / 1.192 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.092, allocations: 249.1 kB / 1.193 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009043/1.101, allocations: 3.572 MB / 1.196 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/1.102, allocations: 20 kB / 1.196 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.102, allocations: 0 / 1.196 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/1.102, allocations: 11.91 kB / 1.196 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005222/1.107, allocations: 2.963 MB / 1.199 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.107, allocations: 0 / 1.199 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.109, allocations: 431.3 kB / 1.199 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/1.111, allocations: 369.6 kB / 1.2 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003387/1.111, allocations: 63.94 kB / 1.2 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/1.117, allocations: 5.739 MB / 1.205 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.117, allocations: 0 / 1.205 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.129, allocations: 4.922 MB / 1.21 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/1.132, allocations: 0.7904 MB / 1.211 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.133, allocations: 51.92 kB / 1.211 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003332/1.137, allocations: 311.3 kB / 1.211 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004908/1.137, allocations: 141.7 kB / 1.211 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003147/1.137, allocations: 67.95 kB / 1.212 GB, free: 12.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004869/1.142, allocations: 2.259 MB / 1.214 GB, free: 10.33 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.61e-07/1.142, allocations: 0 / 1.214 GB, free: 10.33 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00414/1.146, allocations: 0.8342 MB / 1.215 GB, free: 9.496 MB / 0.92 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.002094/1.149, allocations: 0.6967 MB / 1.215 GB, free: 8.992 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.161, allocations: 4.865 MB / 1.22 GB, free: 4.086 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.161, allocations: 3.938 kB / 1.22 GB, free: 4.082 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004625/1.166, allocations: 1.83 MB / 1.222 GB, free: 2.223 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005705/1.172, allocations: 0.8053 MB / 1.223 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.188, allocations: 6.646 MB / 1.229 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/1.19, allocations: 2.234 MB / 1.231 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/1.192, allocations: 251.3 kB / 1.231 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of SimCode: time 1.283e-06/1.192, allocations: 0 / 1.231 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of Templates: time 0.1399/1.332, allocations: 112.6 MB / 1.341 GB, free: 7.676 MB / 1.045 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