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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001731/0.001732, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002131/0.002132, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.76/1.76, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.876/2.876, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 59.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7035, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01376/0.7173, allocations: 9.811 MB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2071/0.9244, allocations: 152.4 MB / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.9274, allocations: 39.75 kB / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.9318, allocations: 1.038 MB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.9362, allocations: 1.045 MB / 1.177 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.9409, allocations: 1.527 MB / 1.179 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00737/0.9482, allocations: 4.956 MB / 1.184 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.9511, allocations: 1.798 MB / 1.185 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00379/0.9549, allocations: 2.103 MB / 1.187 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.9584, allocations: 1.806 MB / 1.189 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.9597, allocations: 384 kB / 1.19 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.9627, allocations: 1.151 MB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.9642, allocations: 0.9815 MB / 1.192 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003272/0.9674, allocations: 1.792 MB / 1.193 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00858/0.976, allocations: 5.458 MB / 1.199 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9761, allocations: 0 / 1.199 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9761, allocations: 0 / 1.199 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001867/0.9763, allocations: 0 / 1.199 GB, free: 7.703 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.01202/0.9883, allocations: 4.111 MB / 1.203 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.9884, allocations: 16.02 kB / 1.203 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008692/0.9971, allocations: 1.573 MB / 1.204 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005808/1.003, allocations: 2.593 MB / 1.207 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/1.003, allocations: 189.6 kB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006905/1.004, allocations: 216 kB / 1.207 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008403/1.012, allocations: 3.321 MB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/1.012, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/1.013, allocations: 84 kB / 1.211 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/1.013, allocations: 48 kB / 1.211 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/1.023, allocations: 3.96 MB / 1.214 GB, free: 7.391 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.02268/1.046, allocations: 10.52 MB / 1.225 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008266/1.054, allocations: 2.916 MB / 1.228 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/1.057, allocations: 1.381 MB / 1.229 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008307/1.058, allocations: 494.7 kB / 1.229 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004167/1.062, allocations: 1.621 MB / 1.231 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 5.72e-06/1.062, allocations: 0 / 1.231 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01582/1.078, allocations: 4.742 MB / 1.236 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.078, allocations: 205.2 kB / 1.236 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006369/1.085, allocations: 3.165 MB / 1.239 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005726/1.085, allocations: 65.7 kB / 1.239 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.087, allocations: 1.131 MB / 1.24 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.088, allocations: 0.5468 MB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/1.089, allocations: 423.3 kB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.089, allocations: 301.1 kB / 1.241 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/1.093, allocations: 1.374 MB / 1.243 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/1.096, allocations: 1.776 MB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006685/1.103, allocations: 2.987 MB / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/1.103, allocations: 4 kB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009831/1.113, allocations: 3.718 MB / 1.251 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/1.113, allocations: 11.94 kB / 1.251 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.113, allocations: 12 kB / 1.251 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/1.115, allocations: 399.2 kB / 1.251 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/1.118, allocations: 0.546 MB / 1.252 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6514/1.77, allocations: 5.731 MB / 1.257 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/1.774, allocations: 498.7 kB / 1.258 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/1.774, allocations: 96 kB / 1.258 GB, free: 222.1 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.002721/1.777, allocations: 1.122 MB / 1.259 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000938/1.778, allocations: 250.1 kB / 1.259 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009889/1.788, allocations: 3.554 MB / 1.263 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.788, allocations: 21.16 kB / 1.263 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.788, allocations: 3.859 kB / 1.263 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/1.788, allocations: 9.047 kB / 1.263 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005414/1.794, allocations: 2.97 MB / 1.266 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.794, allocations: 0.6875 kB / 1.266 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/1.796, allocations: 427.6 kB / 1.266 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/1.798, allocations: 374.7 kB / 1.267 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/1.798, allocations: 59.38 kB / 1.267 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005368/1.804, allocations: 5.745 MB / 1.272 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.804, allocations: 1.156 kB / 1.272 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.816, allocations: 4.912 MB / 1.277 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/1.818, allocations: 0.7933 MB / 1.278 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006383/1.818, allocations: 54.48 kB / 1.278 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.821, allocations: 322.9 kB / 1.278 GB, free: 212 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/1.821, allocations: 137 kB / 1.278 GB, free: 212 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.822, allocations: 65.02 kB / 1.278 GB, free: 212 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003604/1.825, allocations: 2.261 MB / 1.281 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.825, allocations: 0 / 1.281 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003386/1.829, allocations: 0.8636 MB / 1.281 GB, free: 211.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.002406/1.831, allocations: 0.7065 MB / 1.282 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.842, allocations: 4.877 MB / 1.287 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.842, allocations: 4.062 kB / 1.287 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/1.846, allocations: 1.834 MB / 1.289 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/1.85, allocations: 0.8394 MB / 1.289 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.862, allocations: 7.7 MB / 1.297 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/1.864, allocations: 2.353 MB / 1.299 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003416/1.868, allocations: 0.9085 MB / 1.3 GB, free: 199 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008774/1.868, allocations: 223.3 kB / 1.3 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.868, allocations: 0 / 1.3 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06748/1.936, allocations: 48.54 MB / 1.348 GB, free: 150.7 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=400 -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/jenkins/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