Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001851/0.001851, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002054/0.002054, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.16 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3838, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01147/0.3953, allocations: 9.792 MB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.5856, allocations: 152.4 MB / 1.21 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.589, allocations: 35.81 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004701/0.5938, allocations: 1.019 MB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.5989, allocations: 1.024 MB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.6045, allocations: 1.462 MB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008203/0.6127, allocations: 4.949 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00366/0.6164, allocations: 1.746 MB / 1.22 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.6203, allocations: 1.752 MB / 1.222 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.6236, allocations: 1.603 MB / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.6249, allocations: 176 kB / 1.224 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.6281, allocations: 0.9444 MB / 1.225 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.6297, allocations: 0.755 MB / 1.226 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00416/0.6339, allocations: 1.558 MB / 1.227 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008401/0.6423, allocations: 5.286 MB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6424, allocations: 0 / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6424, allocations: 4 kB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001939/0.6426, allocations: 0 / 1.232 GB, free: 15.61 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.01428/0.6569, allocations: 4.103 MB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.6569, allocations: 8.031 kB / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009363/0.6663, allocations: 1.584 MB / 1.238 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00689/0.6732, allocations: 2.593 MB / 1.24 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.6736, allocations: 197.6 kB / 1.241 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.6746, allocations: 204 kB / 1.241 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009998/0.6846, allocations: 3.321 MB / 1.244 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/0.6847, allocations: 0 / 1.244 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005405/0.6853, allocations: 79.98 kB / 1.244 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.6853, allocations: 48 kB / 1.244 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8077/1.493, allocations: 3.96 MB / 1.248 GB, free: 189.2 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.02804/1.521, allocations: 10.52 MB / 1.258 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008135/1.529, allocations: 2.914 MB / 1.261 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/1.533, allocations: 1.382 MB / 1.262 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/1.534, allocations: 494.7 kB / 1.263 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005078/1.539, allocations: 1.619 MB / 1.265 GB, free: 186 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 7.955e-06/1.539, allocations: 4.891 kB / 1.265 GB, free: 186 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01592/1.555, allocations: 4.742 MB / 1.269 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.555, allocations: 207 kB / 1.269 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/1.561, allocations: 3.162 MB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005545/1.562, allocations: 62.98 kB / 1.272 GB, free: 184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/1.563, allocations: 1.13 MB / 1.274 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006938/1.563, allocations: 0.5456 MB / 1.274 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007718/1.564, allocations: 424.8 kB / 1.275 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/1.564, allocations: 301.1 kB / 1.275 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/1.567, allocations: 1.379 MB / 1.276 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/1.571, allocations: 1.778 MB / 1.278 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006057/1.577, allocations: 2.983 MB / 1.281 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.577, allocations: 6.375 kB / 1.281 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00936/1.586, allocations: 3.724 MB / 1.284 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/1.586, allocations: 9.562 kB / 1.284 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/1.586, allocations: 10.88 kB / 1.284 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/1.589, allocations: 396.1 kB / 1.285 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/1.592, allocations: 0.5487 MB / 1.285 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/1.599, allocations: 5.383 MB / 1.291 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/1.605, allocations: 0.4921 MB / 1.291 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.606, allocations: 94.56 kB / 1.291 GB, free: 171 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.004319/1.61, allocations: 1.116 MB / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/1.612, allocations: 247.8 kB / 1.293 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.623, allocations: 3.56 MB / 1.296 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/1.623, allocations: 17.88 kB / 1.296 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.623, allocations: 1.375 kB / 1.296 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/1.623, allocations: 11.95 kB / 1.296 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006657/1.63, allocations: 2.971 MB / 1.299 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.63, allocations: 4 kB / 1.299 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/1.632, allocations: 427.4 kB / 1.299 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/1.634, allocations: 383.2 kB / 1.3 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/1.635, allocations: 62.62 kB / 1.3 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0043/1.639, allocations: 5.39 MB / 1.305 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.639, allocations: 4.125 kB / 1.305 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.649, allocations: 4.925 MB / 1.31 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/1.652, allocations: 0.7825 MB / 1.311 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009093/1.653, allocations: 55.83 kB / 1.311 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.655, allocations: 324.1 kB / 1.311 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/1.656, allocations: 137.8 kB / 1.311 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/1.656, allocations: 67.94 kB / 1.311 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004382/1.66, allocations: 2.255 MB / 1.313 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.52e-07/1.66, allocations: 0 / 1.313 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003718/1.664, allocations: 0.8698 MB / 1.314 GB, free: 152.4 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.002023/1.666, allocations: 0.7056 MB / 1.315 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00735/1.674, allocations: 3.4 MB / 1.318 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.674, allocations: 0 / 1.318 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003695/1.677, allocations: 1.831 MB / 1.32 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/1.682, allocations: 0.7749 MB / 1.321 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.695, allocations: 7.719 MB / 1.328 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/1.698, allocations: 2.348 MB / 1.331 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003773/1.702, allocations: 0.8969 MB / 1.332 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.703, allocations: 227.3 kB / 1.332 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.963e-06/1.703, allocations: 0 / 1.332 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07103/1.774, allocations: 47.01 MB / 1.378 GB, free: 87.98 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches