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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001476/0.001476, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001857, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 65.78 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3866, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01246/0.3991, allocations: 9.839 MB / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2034/0.6025, allocations: 154.7 MB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.606, allocations: 43.75 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004556/0.6106, allocations: 1.138 MB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.6159, allocations: 1.152 MB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/0.6218, allocations: 1.705 MB / 1.233 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008483/0.6303, allocations: 4.852 MB / 1.238 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/0.6341, allocations: 1.798 MB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/0.6384, allocations: 1.948 MB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004964/0.6434, allocations: 1.778 MB / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.6452, allocations: 380 kB / 1.243 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.6493, allocations: 1.148 MB / 1.244 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.6514, allocations: 0.9815 MB / 1.245 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004735/0.6562, allocations: 1.796 MB / 1.247 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8632/1.519, allocations: 5.446 MB / 1.252 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/1.52, allocations: 0 / 1.252 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.795e-06/1.52, allocations: 1 kB / 1.252 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002216/1.52, allocations: 0 / 1.252 GB, free: 17.45 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.01676/1.537, allocations: 4.102 MB / 1.257 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.144e-05/1.537, allocations: 10.09 kB / 1.257 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/1.547, allocations: 1.581 MB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007293/1.554, allocations: 2.585 MB / 1.261 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/1.555, allocations: 198.4 kB / 1.261 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/1.556, allocations: 213.2 kB / 1.261 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009091/1.565, allocations: 3.316 MB / 1.264 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/1.565, allocations: 1.484 kB / 1.264 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/1.565, allocations: 85.27 kB / 1.264 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/1.565, allocations: 47.09 kB / 1.264 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/1.576, allocations: 3.957 MB / 1.268 GB, free: 14.85 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.0257/1.602, allocations: 10.54 MB / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008005/1.61, allocations: 2.921 MB / 1.281 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/1.613, allocations: 1.376 MB / 1.283 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006879/1.614, allocations: 496.8 kB / 1.283 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/1.618, allocations: 1.623 MB / 1.285 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 3.436e-06/1.618, allocations: 0 / 1.285 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01314/1.631, allocations: 4.741 MB / 1.289 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.631, allocations: 205.9 kB / 1.29 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006832/1.638, allocations: 3.162 MB / 1.293 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008718/1.639, allocations: 64.39 kB / 1.293 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/1.64, allocations: 1.132 MB / 1.294 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.641, allocations: 0.5428 MB / 1.294 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008015/1.642, allocations: 421.6 kB / 1.295 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/1.642, allocations: 308.7 kB / 1.295 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/1.645, allocations: 1.377 MB / 1.296 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003432/1.649, allocations: 1.775 MB / 1.298 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005925/1.655, allocations: 2.989 MB / 1.301 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/1.655, allocations: 5.578 kB / 1.301 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01016/1.665, allocations: 3.721 MB / 1.305 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/1.665, allocations: 11.91 kB / 1.305 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.665, allocations: 10.91 kB / 1.305 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/1.667, allocations: 398.8 kB / 1.305 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.67, allocations: 0.5414 MB / 1.306 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004817/1.674, allocations: 5.729 MB / 1.311 GB, free: 19.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005772/1.68, allocations: 489.9 kB / 1.312 GB, free: 19.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008377/1.681, allocations: 92.12 kB / 1.312 GB, free: 19.66 MB / 1.014 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.003069/1.684, allocations: 1.123 MB / 1.313 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.685, allocations: 248.3 kB / 1.313 GB, free: 19.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009799/1.695, allocations: 3.563 MB / 1.317 GB, free: 19.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/1.695, allocations: 20.59 kB / 1.317 GB, free: 19.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.695, allocations: 1.406 kB / 1.317 GB, free: 19.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/1.695, allocations: 8.438 kB / 1.317 GB, free: 19.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007408/1.703, allocations: 2.963 MB / 1.32 GB, free: 18.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/1.703, allocations: 0 / 1.32 GB, free: 18.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/1.705, allocations: 430.2 kB / 1.32 GB, free: 18.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/1.707, allocations: 370.5 kB / 1.32 GB, free: 18.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/1.708, allocations: 62.48 kB / 1.32 GB, free: 18.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/1.713, allocations: 5.735 MB / 1.326 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.713, allocations: 10.45 kB / 1.326 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.725, allocations: 4.911 MB / 1.331 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002727/1.728, allocations: 0.7936 MB / 1.332 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/1.73, allocations: 55.27 kB / 1.332 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003608/1.733, allocations: 309.7 kB / 1.332 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/1.734, allocations: 145.9 kB / 1.332 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/1.734, allocations: 66.17 kB / 1.332 GB, free: 10.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005793/1.74, allocations: 2.252 MB / 1.334 GB, free: 9.652 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.51e-07/1.74, allocations: 1.781 kB / 1.334 GB, free: 9.652 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005052/1.745, allocations: 0.8725 MB / 1.335 GB, free: 9.457 MB / 1.014 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.002334/1.747, allocations: 0.6957 MB / 1.336 GB, free: 9.176 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.76, allocations: 4.882 MB / 1.341 GB, free: 7.324 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.76, allocations: 0 / 1.341 GB, free: 7.324 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/1.765, allocations: 1.824 MB / 1.342 GB, free: 6.285 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00695/1.772, allocations: 0.8354 MB / 1.343 GB, free: 5.863 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.788, allocations: 6.66 MB / 1.35 GB, free: 2.152 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004308/1.793, allocations: 2.351 MB / 1.352 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005139/1.798, allocations: 0.8971 MB / 1.353 GB, free: 272 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/1.8, allocations: 224.2 kB / 1.353 GB, free: 212 kB / 1.014 GB Notification: Performance of SimCode: time 1.353e-06/1.8, allocations: 0 / 1.353 GB, free: 212 kB / 1.014 GB Notification: Performance of Templates: time 0.09596/1.896, allocations: 48.71 MB / 1.401 GB, free: 0.8789 MB / 1.061 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