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.006444/0.006444, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001361/0.001361, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.555/2.555, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 66.23 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3006, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01157/0.3122, allocations: 8.383 MB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.4974, allocations: 154.5 MB / 1.247 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.5, allocations: 51.75 kB / 1.247 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003599/0.5036, allocations: 1.096 MB / 1.248 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.5078, allocations: 1.044 MB / 1.249 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.5123, allocations: 1.686 MB / 1.251 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006092/0.5184, allocations: 4.643 MB / 1.255 GB, free: 5.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.5208, allocations: 1.852 MB / 1.257 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.524, allocations: 2.018 MB / 1.259 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8268/1.351, allocations: 1.681 MB / 1.261 GB, free: 8.316 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001864/1.353, allocations: 371.4 kB / 1.261 GB, free: 8.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/1.357, allocations: 1.166 MB / 1.262 GB, free: 8.316 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001887/1.359, allocations: 0.9903 MB / 1.263 GB, free: 8.316 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005342/1.364, allocations: 1.734 MB / 1.265 GB, free: 8.316 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/1.376, allocations: 5.446 MB / 1.27 GB, free: 8.062 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/1.376, allocations: 0.9375 kB / 1.27 GB, free: 8.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/1.376, allocations: 3.719 kB / 1.27 GB, free: 8.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002373/1.377, allocations: 0 / 1.27 GB, free: 8.062 MB / 1.014 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.018/1.395, allocations: 4.169 MB / 1.274 GB, free: 6.371 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/1.395, allocations: 9.812 kB / 1.274 GB, free: 6.371 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/1.405, allocations: 1.595 MB / 1.276 GB, free: 6.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/1.413, allocations: 2.683 MB / 1.278 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004163/1.414, allocations: 191.6 kB / 1.279 GB, free: 5.543 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.415, allocations: 208.8 kB / 1.279 GB, free: 5.543 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/1.425, allocations: 3.314 MB / 1.282 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/1.425, allocations: 1.031 kB / 1.282 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003207/1.426, allocations: 81.78 kB / 1.282 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/1.426, allocations: 49.12 kB / 1.282 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/1.437, allocations: 3.95 MB / 1.286 GB, free: 5.316 MB / 1.014 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.0287/1.466, allocations: 10.03 MB / 1.296 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008758/1.474, allocations: 2.908 MB / 1.299 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0038/1.478, allocations: 1.387 MB / 1.3 GB, free: 2.992 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008127/1.479, allocations: 493.2 kB / 1.301 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004603/1.484, allocations: 1.618 MB / 1.302 GB, free: 2.434 MB / 1.014 GB Notification: Performance of pre-optimization done (n=166): time 6.693e-06/1.484, allocations: 6.562 kB / 1.302 GB, free: 2.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=166): time 0.01475/1.498, allocations: 4.7 MB / 1.307 GB, free: 1.816 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/1.499, allocations: 203 kB / 1.307 GB, free: 1.594 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008351/1.507, allocations: 3.119 MB / 1.31 GB, free: 1.352 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0009241/1.508, allocations: 63.8 kB / 1.31 GB, free: 1.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.51, allocations: 1.134 MB / 1.311 GB, free: 0.957 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/1.511, allocations: 0.5736 MB / 1.312 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002352/1.513, allocations: 422.9 kB / 1.312 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/1.514, allocations: 306 kB / 1.312 GB, free: 264 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003682/1.517, allocations: 1.367 MB / 1.314 GB, free: 260 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004081/1.521, allocations: 1.772 MB / 1.315 GB, free: 15.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007198/1.529, allocations: 2.978 MB / 1.318 GB, free: 15.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/1.529, allocations: 5.281 kB / 1.318 GB, free: 15.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01102/1.54, allocations: 3.713 MB / 1.322 GB, free: 14.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/1.54, allocations: 9 kB / 1.322 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/1.54, allocations: 10.78 kB / 1.322 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/1.542, allocations: 370 kB / 1.322 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/1.545, allocations: 0.5429 MB / 1.323 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/1.551, allocations: 5.7 MB / 1.328 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/1.556, allocations: 500 kB / 1.329 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009708/1.557, allocations: 98 kB / 1.329 GB, free: 9.621 MB / 1.029 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.004177/1.561, allocations: 1.11 MB / 1.33 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/1.563, allocations: 262.8 kB / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.575, allocations: 3.542 MB / 1.334 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/1.575, allocations: 17.12 kB / 1.334 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.575, allocations: 2.188 kB / 1.334 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-05/1.575, allocations: 10.45 kB / 1.334 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/1.583, allocations: 2.958 MB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.584, allocations: 0 / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/1.586, allocations: 427.9 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/1.588, allocations: 347.1 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000718/1.589, allocations: 62.78 kB / 1.338 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005854/1.595, allocations: 5.712 MB / 1.343 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.595, allocations: 7.531 kB / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/1.614, allocations: 4.9 MB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004413/1.619, allocations: 0.7954 MB / 1.349 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.621, allocations: 55.75 kB / 1.349 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/1.625, allocations: 302.7 kB / 1.349 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006887/1.625, allocations: 130.9 kB / 1.349 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005378/1.626, allocations: 64.05 kB / 1.349 GB, free: 13.31 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.006682/1.633, allocations: 2.231 MB / 1.351 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.71e-07/1.633, allocations: 0 / 1.351 GB, free: 12.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005769/1.638, allocations: 0.8402 MB / 1.352 GB, free: 11.95 MB / 1.045 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.003102/1.642, allocations: 0.7016 MB / 1.353 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009622/1.651, allocations: 3.396 MB / 1.356 GB, free: 9.871 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.651, allocations: 4.062 kB / 1.356 GB, free: 9.867 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004663/1.656, allocations: 1.828 MB / 1.358 GB, free: 8.828 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007183/1.663, allocations: 0.8029 MB / 1.359 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.682, allocations: 6.798 MB / 1.365 GB, free: 4.621 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003881/1.686, allocations: 2.34 MB / 1.368 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004826/1.691, allocations: 0.9046 MB / 1.369 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/1.692, allocations: 227.3 kB / 1.369 GB, free: 1.805 MB / 1.045 GB Notification: Performance of SimCode: time 1.503e-06/1.692, allocations: 0 / 1.369 GB, free: 1.805 MB / 1.045 GB Notification: Performance of Templates: time 0.08747/1.78, allocations: 47.77 MB / 1.415 GB, free: 2.52 MB / 1.092 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