Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001957/0.001957, 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.002305/0.002305, allocations: 193.6 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 469.8 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.92 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.39, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01274/0.4027, allocations: 9.771 MB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2075/0.6103, allocations: 152.4 MB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.6133, allocations: 35.81 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.6178, allocations: 1.038 MB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.6226, allocations: 1.039 MB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.6274, allocations: 1.542 MB / 1.225 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007539/0.635, allocations: 4.969 MB / 1.23 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/0.6377, allocations: 1.798 MB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.6416, allocations: 2.1 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/0.6449, allocations: 1.806 MB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007211/0.6457, allocations: 380 kB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.6483, allocations: 1.148 MB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.6493, allocations: 0.9815 MB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.6517, allocations: 1.789 MB / 1.24 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007391/0.6591, allocations: 5.465 MB / 1.245 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.6592, allocations: 0 / 1.245 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6592, allocations: 0 / 1.245 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000145/0.6593, allocations: 0 / 1.245 GB, free: 3.617 MB / 0.9981 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.6777/1.337, allocations: 4.102 MB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/1.337, allocations: 10.62 kB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009621/1.347, allocations: 1.582 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006964/1.354, allocations: 2.591 MB / 1.253 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/1.354, allocations: 189.5 kB / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006427/1.355, allocations: 207.8 kB / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007303/1.362, allocations: 3.319 MB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/1.362, allocations: 6.812 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/1.362, allocations: 81.41 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/1.362, allocations: 51.22 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008742/1.371, allocations: 3.965 MB / 1.261 GB, free: 182 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.02332/1.395, allocations: 10.51 MB / 1.271 GB, free: 177 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007654/1.402, allocations: 2.913 MB / 1.274 GB, free: 176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/1.405, allocations: 1.383 MB / 1.276 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007272/1.406, allocations: 493.1 kB / 1.276 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00377/1.41, allocations: 1.629 MB / 1.278 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 8.185e-06/1.41, allocations: 0 / 1.278 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01279/1.423, allocations: 4.744 MB / 1.282 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/1.423, allocations: 206.3 kB / 1.282 GB, free: 171 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006736/1.43, allocations: 3.159 MB / 1.286 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006673/1.43, allocations: 67.31 kB / 1.286 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/1.432, allocations: 1.128 MB / 1.287 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.433, allocations: 0.5471 MB / 1.287 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/1.435, allocations: 425.1 kB / 1.288 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/1.435, allocations: 301.1 kB / 1.288 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.438, allocations: 1.38 MB / 1.289 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/1.441, allocations: 1.772 MB / 1.291 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006174/1.448, allocations: 2.985 MB / 1.294 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-05/1.448, allocations: 2.969 kB / 1.294 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008925/1.457, allocations: 3.725 MB / 1.298 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/1.457, allocations: 7.938 kB / 1.298 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1.457, allocations: 11.78 kB / 1.298 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/1.459, allocations: 397.4 kB / 1.298 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/1.461, allocations: 0.5491 MB / 1.298 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/1.466, allocations: 5.739 MB / 1.304 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.47, allocations: 0.4959 MB / 1.305 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000641/1.47, allocations: 95.94 kB / 1.305 GB, free: 155.4 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.002622/1.473, allocations: 1.111 MB / 1.306 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.474, allocations: 248.9 kB / 1.306 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008817/1.483, allocations: 3.552 MB / 1.309 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.483, allocations: 24 kB / 1.309 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.483, allocations: 0 / 1.309 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/1.483, allocations: 11.97 kB / 1.309 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/1.489, allocations: 2.971 MB / 1.312 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.489, allocations: 4 kB / 1.312 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.491, allocations: 423.3 kB / 1.313 GB, free: 147 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/1.493, allocations: 381.8 kB / 1.313 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002796/1.493, allocations: 59.94 kB / 1.313 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/1.497, allocations: 5.743 MB / 1.319 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.497, allocations: 3.984 kB / 1.319 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/1.508, allocations: 4.918 MB / 1.324 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.51, allocations: 0.7864 MB / 1.324 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.511, allocations: 47.89 kB / 1.324 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.514, allocations: 328.5 kB / 1.325 GB, free: 134.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/1.515, allocations: 145.7 kB / 1.325 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/1.515, allocations: 75.88 kB / 1.325 GB, free: 134 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004198/1.519, allocations: 2.251 MB / 1.327 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.52e-07/1.519, allocations: 0 / 1.327 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003745/1.523, allocations: 0.866 MB / 1.328 GB, free: 130.9 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.002546/1.525, allocations: 0.7041 MB / 1.329 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.537, allocations: 4.875 MB / 1.333 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.538, allocations: 0 / 1.333 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004788/1.542, allocations: 1.826 MB / 1.335 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006557/1.549, allocations: 0.8245 MB / 1.336 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.562, allocations: 7.713 MB / 1.344 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/1.565, allocations: 2.349 MB / 1.346 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004026/1.569, allocations: 0.9085 MB / 1.347 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.571, allocations: 223.3 kB / 1.347 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.571, allocations: 0 / 1.347 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0726/1.643, allocations: 48.54 MB / 1.394 GB, free: 63.59 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches