Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009483, 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.0009544/0.0009544, allocations: 192.8 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 251.7 MB / 0.5088 GB, free: 3.375 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.92 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3806, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1415/0.5221, allocations: 154.7 MB / 0.8749 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02101/0.5432, allocations: 21.56 MB / 0.896 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.5451, allocations: 43.75 kB / 0.896 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.5468, allocations: 1.309 MB / 0.8973 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.548, allocations: 0.9345 MB / 0.8982 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009327/0.549, allocations: 413.2 kB / 0.8986 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.5502, allocations: 1.512 MB / 0.9001 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.5509, allocations: 0.7019 MB / 0.9008 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.5514, allocations: 0.5723 MB / 0.9013 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009949/0.5524, allocations: 1.098 MB / 0.9024 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.732e-05/0.5525, allocations: 40 kB / 0.9024 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.5527, allocations: 83.98 kB / 0.9025 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.553, allocations: 376.5 kB / 0.9029 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.5534, allocations: 0.5275 MB / 0.9034 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.5544, allocations: 1.304 MB / 0.9046 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5544, allocations: 0 / 0.9046 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5544, allocations: 0 / 0.9046 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.5544, allocations: 0 / 0.9046 GB, free: 3.297 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002226/0.5566, allocations: 1.675 MB / 0.9063 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5567, allocations: 16.03 kB / 0.9063 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.5569, allocations: 159 kB / 0.9065 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.5577, allocations: 0.7438 MB / 0.9072 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.5578, allocations: 74.69 kB / 0.9072 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.5579, allocations: 52 kB / 0.9073 GB, free: 476 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3043/0.8622, allocations: 0.5684 MB / 0.9079 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.8623, allocations: 1.5 kB / 0.9079 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.8623, allocations: 20.81 kB / 0.9079 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.8624, allocations: 11.81 kB / 0.9079 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009999/0.8634, allocations: 442.6 kB / 0.9083 GB, free: 185.5 MB / 0.7169 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.00334/0.8667, allocations: 3.003 MB / 0.9112 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009803/0.8677, allocations: 499.3 kB / 0.9117 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.8683, allocations: 317.6 kB / 0.912 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.8683, allocations: 9.938 kB / 0.912 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005908/0.8689, allocations: 335 kB / 0.9123 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 3.046e-06/0.8689, allocations: 0 / 0.9123 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.003146/0.8721, allocations: 1.354 MB / 0.9137 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.8721, allocations: 59.03 kB / 0.9137 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.8743, allocations: 2.113 MB / 0.9158 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.8744, allocations: 38.5 kB / 0.9158 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.8748, allocations: 0.6245 MB / 0.9164 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.8749, allocations: 164.8 kB / 0.9166 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.8751, allocations: 104.1 kB / 0.9167 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.8751, allocations: 338.4 kB / 0.917 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.8756, allocations: 232 kB / 0.9172 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.8762, allocations: 342.9 kB / 0.9176 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009011/0.8771, allocations: 0.5516 MB / 0.9181 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8771, allocations: 0.5938 kB / 0.9181 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001901/0.879, allocations: 0.9159 MB / 0.919 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.8791, allocations: 6.562 kB / 0.919 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.8791, allocations: 3 kB / 0.919 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.8797, allocations: 199.6 kB / 0.9192 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.8801, allocations: 108.5 kB / 0.9193 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.8828, allocations: 2.799 MB / 0.922 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.8833, allocations: 85.84 kB / 0.9221 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.8833, allocations: 24.56 kB / 0.9221 GB, free: 177.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004687/0.8838, allocations: 440.6 kB / 0.9226 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.884, allocations: 140.4 kB / 0.9227 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.8842, allocations: 172.4 kB / 0.9229 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8842, allocations: 3.969 kB / 0.9229 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.8842, allocations: 3.969 kB / 0.9229 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8842, allocations: 3.984 kB / 0.9229 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.8864, allocations: 1.732 MB / 0.9246 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8864, allocations: 0 / 0.9246 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.8866, allocations: 46.94 kB / 0.9246 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.887, allocations: 210.2 kB / 0.9248 GB, free: 176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.8871, allocations: 15.92 kB / 0.9248 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.8899, allocations: 4.176 MB / 0.9289 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8899, allocations: 0 / 0.9289 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.8914, allocations: 1.159 MB / 0.93 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.8916, allocations: 243.1 kB / 0.9303 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.8917, allocations: 16 kB / 0.9303 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.892, allocations: 35.95 kB / 0.9303 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.8921, allocations: 64.34 kB / 0.9304 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.8922, allocations: 19.98 kB / 0.9304 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001026/0.8932, allocations: 1.541 MB / 0.9319 GB, free: 169 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8932, allocations: 0 / 0.9319 GB, free: 169 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006436/0.8939, allocations: 223.1 kB / 0.9321 GB, free: 168.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000871/0.8947, allocations: 487.3 kB / 0.9326 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.8959, allocations: 0.7686 MB / 0.9333 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8959, allocations: 4 kB / 0.9333 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.8966, allocations: 0.5818 MB / 0.9339 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009095/0.8975, allocations: 218.4 kB / 0.9341 GB, free: 167 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.9005, allocations: 3.165 MB / 0.9372 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.901, allocations: 1.239 MB / 0.9384 GB, free: 162.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.9012, allocations: 101 kB / 0.9385 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.9013, allocations: 51.42 kB / 0.9386 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9013, allocations: 0 / 0.9386 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01386/0.9152, allocations: 10.81 MB / 0.9491 GB, free: 151.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)