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.006167/0.006167, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.001247/0.001247, allocations: 195.6 kB / 16.67 MB, free: 5.969 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: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.14 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3933, allocations: 157.4 MB / 1.208 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01527/0.4086, allocations: 9.86 MB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.162/1.571, allocations: 154.7 MB / 1.368 GB, free: 2.625 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/1.574, allocations: 47.94 kB / 1.368 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004511/1.579, allocations: 1.148 MB / 1.37 GB, free: 2.055 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005264/1.584, allocations: 1.144 MB / 1.371 GB, free: 1.363 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005749/1.59, allocations: 1.701 MB / 1.372 GB, free: 492 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00871/1.598, allocations: 4.884 MB / 1.377 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00376/1.602, allocations: 1.797 MB / 1.379 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/1.607, allocations: 2.063 MB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/1.611, allocations: 1.73 MB / 1.383 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001754/1.613, allocations: 372.7 kB / 1.383 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/1.617, allocations: 1.162 MB / 1.384 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002165/1.62, allocations: 0.9907 MB / 1.385 GB, free: 9.777 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004876/1.624, allocations: 1.784 MB / 1.387 GB, free: 8.488 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008997/1.633, allocations: 5.512 MB / 1.392 GB, free: 4.676 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.634, allocations: 0 / 1.392 GB, free: 4.676 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.733e-06/1.634, allocations: 0 / 1.392 GB, free: 4.676 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001859/1.634, allocations: 0 / 1.392 GB, free: 4.676 MB / 1.076 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.0122/1.646, allocations: 4.104 MB / 1.396 GB, free: 1.895 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.646, allocations: 9.438 kB / 1.396 GB, free: 1.895 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008361/1.654, allocations: 1.581 MB / 1.398 GB, free: 1.133 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006711/1.661, allocations: 2.667 MB / 1.4 GB, free: 15.36 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/1.661, allocations: 190.1 kB / 1.401 GB, free: 15.25 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005648/1.662, allocations: 208.1 kB / 1.401 GB, free: 15.19 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007449/1.669, allocations: 3.307 MB / 1.404 GB, free: 13.24 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/1.67, allocations: 3.938 kB / 1.404 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/1.67, allocations: 85.38 kB / 1.404 GB, free: 13.17 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/1.67, allocations: 47.94 kB / 1.404 GB, free: 13.17 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009/1.679, allocations: 3.949 MB / 1.408 GB, free: 9.469 MB / 1.092 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.0218/1.701, allocations: 10.38 MB / 1.418 GB, free: 14.74 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007101/1.708, allocations: 2.905 MB / 1.421 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/1.711, allocations: 1.375 MB / 1.422 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/1.712, allocations: 0.4911 MB / 1.423 GB, free: 9.863 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003534/1.715, allocations: 1.614 MB / 1.424 GB, free: 8.23 MB / 1.107 GB Notification: Performance of pre-optimization done (n=166): time 5.11e-06/1.715, allocations: 0 / 1.424 GB, free: 8.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=166): time 0.01248/1.728, allocations: 4.695 MB / 1.429 GB, free: 3.441 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.728, allocations: 197.2 kB / 1.429 GB, free: 3.203 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007411/1.735, allocations: 3.111 MB / 1.432 GB, free: 72 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0006457/1.736, allocations: 69.73 kB / 1.432 GB, free: 15.99 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/1.738, allocations: 1.119 MB / 1.433 GB, free: 14.86 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.739, allocations: 0.5469 MB / 1.434 GB, free: 14.31 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/1.74, allocations: 427.2 kB / 1.434 GB, free: 13.89 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.74, allocations: 305.1 kB / 1.435 GB, free: 13.59 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.743, allocations: 1.37 MB / 1.436 GB, free: 12.21 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004141/1.747, allocations: 1.768 MB / 1.438 GB, free: 10.3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00747/1.755, allocations: 2.983 MB / 1.441 GB, free: 7.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/1.755, allocations: 3.938 kB / 1.441 GB, free: 7.176 MB / 1.123 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01036/1.765, allocations: 3.695 MB / 1.444 GB, free: 3.457 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/1.765, allocations: 8 kB / 1.444 GB, free: 3.449 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/1.766, allocations: 12 kB / 1.444 GB, free: 3.438 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/1.768, allocations: 372 kB / 1.445 GB, free: 3.062 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/1.77, allocations: 0.5421 MB / 1.445 GB, free: 2.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/1.777, allocations: 5.716 MB / 1.451 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.781, allocations: 490.2 kB / 1.451 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/1.782, allocations: 95.94 kB / 1.451 GB, free: 11.79 MB / 1.139 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.003091/1.785, allocations: 1.116 MB / 1.452 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.786, allocations: 244.8 kB / 1.453 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009364/1.795, allocations: 3.532 MB / 1.456 GB, free: 6.863 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.795, allocations: 20 kB / 1.456 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.795, allocations: 4 kB / 1.456 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/1.795, allocations: 15.89 kB / 1.456 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006478/1.802, allocations: 2.959 MB / 1.459 GB, free: 3.816 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.802, allocations: 0 / 1.459 GB, free: 3.816 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/1.804, allocations: 427.3 kB / 1.459 GB, free: 3.398 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/1.806, allocations: 351.1 kB / 1.46 GB, free: 3.043 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003047/1.806, allocations: 63.94 kB / 1.46 GB, free: 2.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005296/1.812, allocations: 5.703 MB / 1.465 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.812, allocations: 0 / 1.465 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/1.824, allocations: 4.89 MB / 1.47 GB, free: 7.895 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002711/1.827, allocations: 0.7826 MB / 1.471 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.828, allocations: 51.89 kB / 1.471 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/1.832, allocations: 307.5 kB / 1.471 GB, free: 6.738 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.832, allocations: 129.8 kB / 1.471 GB, free: 6.613 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/1.832, allocations: 71.94 kB / 1.471 GB, free: 6.543 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00546/1.838, allocations: 2.216 MB / 1.473 GB, free: 4.316 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.11e-07/1.838, allocations: 0 / 1.473 GB, free: 4.316 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004728/1.843, allocations: 0.8633 MB / 1.474 GB, free: 3.453 MB / 1.154 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.002285/1.845, allocations: 0.7097 MB / 1.475 GB, free: 2.926 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008479/1.854, allocations: 3.396 MB / 1.478 GB, free: 15.49 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.854, allocations: 3.984 kB / 1.478 GB, free: 15.48 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/1.858, allocations: 1.823 MB / 1.48 GB, free: 13.62 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/1.864, allocations: 0.8244 MB / 1.481 GB, free: 12.83 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.88, allocations: 6.589 MB / 1.487 GB, free: 6.207 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003703/1.884, allocations: 2.346 MB / 1.49 GB, free: 3.828 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004329/1.888, allocations: 0.9361 MB / 1.491 GB, free: 2.887 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/1.89, allocations: 227.3 kB / 1.491 GB, free: 2.664 MB / 1.17 GB Notification: Performance of SimCode: time 1.392e-06/1.89, allocations: 3.938 kB / 1.491 GB, free: 2.66 MB / 1.17 GB Notification: Performance of Templates: time 0.09011/1.98, allocations: 49.51 MB / 1.539 GB, free: 1.508 MB / 1.217 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