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.001075/0.001075, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.00136/0.00136, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 462.7 MB / 0.7364 GB, free: 220 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 12.36 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3797, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01146/0.3912, allocations: 9.259 MB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1847/0.576, allocations: 150.8 MB / 1.215 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.5788, allocations: 39.75 kB / 1.215 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.5824, allocations: 1.015 MB / 1.216 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.5872, allocations: 1.021 MB / 1.217 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.5921, allocations: 1.462 MB / 1.218 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00735/0.5995, allocations: 4.949 MB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003326/0.6029, allocations: 1.711 MB / 1.225 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.6062, allocations: 1.576 MB / 1.226 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.609, allocations: 1.38 MB / 1.228 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008658/0.6099, allocations: 100 kB / 1.228 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.6127, allocations: 0.8702 MB / 1.229 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.6139, allocations: 0.6301 MB / 1.229 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.6164, allocations: 1.419 MB / 1.231 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006351/0.6227, allocations: 5.136 MB / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6228, allocations: 0 / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.906e-06/0.6228, allocations: 0 / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001558/0.623, allocations: 0 / 1.236 GB, free: 15.39 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.008587/0.6316, allocations: 3.519 MB / 1.239 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.6316, allocations: 8.031 kB / 1.239 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/0.64, allocations: 1.647 MB / 1.241 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005158/0.6452, allocations: 2.593 MB / 1.243 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.6455, allocations: 193.6 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/0.646, allocations: 212 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00711/0.6531, allocations: 3.342 MB / 1.247 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.6531, allocations: 0 / 1.247 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.6534, allocations: 80 kB / 1.247 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.6534, allocations: 51.98 kB / 1.247 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9881/1.641, allocations: 4.008 MB / 1.251 GB, free: 27.55 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.02523/1.667, allocations: 10.59 MB / 1.261 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/1.675, allocations: 2.925 MB / 1.264 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/1.679, allocations: 1.394 MB / 1.266 GB, free: 24.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007121/1.679, allocations: 493.8 kB / 1.266 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005172/1.685, allocations: 1.629 MB / 1.268 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 5.711e-06/1.685, allocations: 0 / 1.268 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.0156/1.7, allocations: 4.782 MB / 1.272 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.7, allocations: 199.2 kB / 1.272 GB, free: 23.51 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006901/1.707, allocations: 3.173 MB / 1.276 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.708, allocations: 60.98 kB / 1.276 GB, free: 23.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001558/1.71, allocations: 1.128 MB / 1.277 GB, free: 22.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001596/1.712, allocations: 0.5444 MB / 1.277 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000496/1.712, allocations: 176.2 kB / 1.277 GB, free: 22.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/1.712, allocations: 301.1 kB / 1.278 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004017/1.716, allocations: 1.383 MB / 1.279 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003883/1.72, allocations: 1.785 MB / 1.281 GB, free: 21.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/1.727, allocations: 3.001 MB / 1.284 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-05/1.727, allocations: 3.656 kB / 1.284 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009803/1.737, allocations: 3.734 MB / 1.287 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/1.737, allocations: 13.47 kB / 1.287 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/1.737, allocations: 15.95 kB / 1.287 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/1.739, allocations: 388.4 kB / 1.288 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/1.742, allocations: 0.5564 MB / 1.288 GB, free: 21.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004579/1.746, allocations: 5.391 MB / 1.294 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/1.751, allocations: 0.5072 MB / 1.294 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005269/1.751, allocations: 95.16 kB / 1.294 GB, free: 16.61 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.002384/1.753, allocations: 1.118 MB / 1.295 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008848/1.754, allocations: 244.1 kB / 1.296 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008552/1.763, allocations: 3.572 MB / 1.299 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.763, allocations: 22.5 kB / 1.299 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.763, allocations: 3.938 kB / 1.299 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/1.763, allocations: 13.56 kB / 1.299 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/1.768, allocations: 2.963 MB / 1.302 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.768, allocations: 3.375 kB / 1.302 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.77, allocations: 431 kB / 1.302 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/1.772, allocations: 379.3 kB / 1.303 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002873/1.772, allocations: 60.59 kB / 1.303 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/1.776, allocations: 5.407 MB / 1.308 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.776, allocations: 0 / 1.308 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/1.787, allocations: 4.933 MB / 1.313 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.789, allocations: 0.818 MB / 1.314 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006333/1.79, allocations: 49.48 kB / 1.314 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/1.793, allocations: 343.8 kB / 1.314 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/1.793, allocations: 137.9 kB / 1.314 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.793, allocations: 74.12 kB / 1.314 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00382/1.797, allocations: 2.252 MB / 1.316 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.797, allocations: 0 / 1.316 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003311/1.8, allocations: 0.8641 MB / 1.317 GB, free: 10.56 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.001792/1.802, allocations: 0.7143 MB / 1.318 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007413/1.81, allocations: 3.415 MB / 1.321 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.81, allocations: 3.5 kB / 1.321 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.813, allocations: 1.835 MB / 1.323 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.817, allocations: 0.7626 MB / 1.324 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/1.83, allocations: 7.83 MB / 1.332 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/1.832, allocations: 2.344 MB / 1.334 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003429/1.835, allocations: 0.9033 MB / 1.335 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008563/1.836, allocations: 225.4 kB / 1.335 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.836, allocations: 0 / 1.335 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of Templates: time 0.08064/1.917, allocations: 46.37 MB / 1.38 GB, free: 15.33 MB / 1.045 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