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.000988/0.0009881, allocations: 91.61 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.001184/0.001184, 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.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.43 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.508/2.508, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8439, allocations: 142.4 MB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.007411/0.8513, allocations: 7.357 MB / 0.9616 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1686/1.02, allocations: 140.5 MB / 1.099 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/1.023, allocations: 39.81 kB / 1.099 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003326/1.026, allocations: 0.9176 MB / 1.1 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003761/1.03, allocations: 0.8431 MB / 1.101 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/1.034, allocations: 1.194 MB / 1.102 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00611/1.04, allocations: 4.263 MB / 1.106 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/1.042, allocations: 1.481 MB / 1.107 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/1.045, allocations: 1.44 MB / 1.109 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/1.047, allocations: 1.295 MB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/1.047, allocations: 104 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/1.049, allocations: 0.8156 MB / 1.111 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006765/1.05, allocations: 0.6303 MB / 1.112 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006105/1.05, allocations: 0.582 MB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/1.054, allocations: 4.279 MB / 1.116 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/1.054, allocations: 0 / 1.116 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.413e-06/1.054, allocations: 0 / 1.116 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.278e-05/1.054, allocations: 4 kB / 1.116 GB, free: 9.32 MB / 0.8731 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.007273/1.062, allocations: 3.519 MB / 1.12 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/1.062, allocations: 8.031 kB / 1.12 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008105/1.07, allocations: 1.654 MB / 1.121 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/1.075, allocations: 2.516 MB / 1.124 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/1.075, allocations: 193.6 kB / 1.124 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/1.076, allocations: 208 kB / 1.124 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00668/1.082, allocations: 3.332 MB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/1.082, allocations: 4 kB / 1.127 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/1.083, allocations: 83.98 kB / 1.128 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.013e-05/1.083, allocations: 52 kB / 1.128 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008463/1.091, allocations: 3.999 MB / 1.131 GB, free: 9.555 MB / 0.8887 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.02282/1.114, allocations: 10.2 MB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/1.121, allocations: 2.925 MB / 1.144 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003103/1.124, allocations: 1.391 MB / 1.146 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/1.125, allocations: 490.7 kB / 1.146 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003619/1.129, allocations: 1.621 MB / 1.148 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=166): time 4.608e-06/1.129, allocations: 4 kB / 1.148 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of matching and sorting (n=166): time 0.01204/1.141, allocations: 4.757 MB / 1.152 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.141, allocations: 201.2 kB / 1.153 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005633/1.147, allocations: 3.146 MB / 1.156 GB, free: 300 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003939/1.147, allocations: 61.7 kB / 1.156 GB, free: 232 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.148, allocations: 1.139 MB / 1.157 GB, free: 15.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008121/1.149, allocations: 0.5391 MB / 1.157 GB, free: 14.53 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.149, allocations: 36 kB / 1.157 GB, free: 14.49 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.15, allocations: 381.9 kB / 1.158 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.153, allocations: 1.378 MB / 1.159 GB, free: 12.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/1.156, allocations: 1.78 MB / 1.161 GB, free: 10.81 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.16, allocations: 1.505 MB / 1.162 GB, free: 9.305 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/1.16, allocations: 4 kB / 1.162 GB, free: 9.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00916/1.169, allocations: 3.703 MB / 1.166 GB, free: 5.574 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.169, allocations: 17.2 kB / 1.166 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/1.169, allocations: 11.94 kB / 1.166 GB, free: 5.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/1.171, allocations: 399.2 kB / 1.166 GB, free: 5.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.173, allocations: 0.5538 MB / 1.167 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/1.178, allocations: 5.363 MB / 1.172 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/1.181, allocations: 0.503 MB / 1.173 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005304/1.182, allocations: 91.94 kB / 1.173 GB, free: 14.2 MB / 0.9356 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.00289/1.185, allocations: 1.12 MB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.186, allocations: 248.8 kB / 1.174 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008863/1.195, allocations: 3.598 MB / 1.177 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/1.195, allocations: 16 kB / 1.177 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.195, allocations: 0 / 1.177 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.195, allocations: 7.969 kB / 1.177 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/1.2, allocations: 2.974 MB / 1.18 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/1.2, allocations: 0 / 1.18 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.202, allocations: 431.3 kB / 1.181 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1.203, allocations: 379 kB / 1.181 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/1.204, allocations: 59.94 kB / 1.181 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/1.209, allocations: 5.395 MB / 1.187 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.209, allocations: 0 / 1.187 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.219, allocations: 4.926 MB / 1.191 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/1.221, allocations: 0.8135 MB / 1.192 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007339/1.221, allocations: 48.17 kB / 1.192 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/1.224, allocations: 336.1 kB / 1.192 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/1.224, allocations: 149.7 kB / 1.193 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.224, allocations: 71.94 kB / 1.193 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00471/1.229, allocations: 2.232 MB / 1.195 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.41e-07/1.229, allocations: 0 / 1.195 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003669/1.233, allocations: 0.8419 MB / 1.196 GB, free: 5.996 MB / 0.9512 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.002066/1.235, allocations: 0.6892 MB / 1.196 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007539/1.242, allocations: 3.396 MB / 1.2 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.242, allocations: 0 / 1.2 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003796/1.246, allocations: 1.831 MB / 1.201 GB, free: 176 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/1.251, allocations: 0.7449 MB / 1.202 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.267, allocations: 7.784 MB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/1.27, allocations: 2.354 MB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003945/1.274, allocations: 0.8967 MB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.275, allocations: 215.3 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of SimCode: time 1.252e-06/1.275, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of Templates: time 0.6661/1.941, allocations: 44.29 MB / 1.256 GB, free: 274.9 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/jenkins/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