Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 106.7 kB / 16.36 MB, free: 6.477 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.001107/0.001107, allocations: 196.4 kB / 17.3 MB, free: 5.82 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.248/1.248, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.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.001428/0.001428, allocations: 67.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1867, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4848/0.6715, allocations: 157.2 MB / 0.9383 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0229/0.6945, allocations: 21.79 MB / 0.9596 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.6961, allocations: 55.69 kB / 0.9597 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.6984, allocations: 2.155 MB / 0.9618 GB, free: 4.707 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001766/0.7002, allocations: 1.421 MB / 0.9632 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.7013, allocations: 0.5349 MB / 0.9637 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.7029, allocations: 1.813 MB / 0.9655 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.704, allocations: 1.083 MB / 0.9665 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008146/0.7048, allocations: 0.8763 MB / 0.9674 GB, free: 15 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.7063, allocations: 1.534 MB / 0.9689 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.7065, allocations: 92 kB / 0.969 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.7068, allocations: 136 kB / 0.9691 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.7072, allocations: 0.5247 MB / 0.9696 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005633/0.7077, allocations: 0.7563 MB / 0.9703 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.7092, allocations: 1.852 MB / 0.9721 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7092, allocations: 4 kB / 0.9722 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7092, allocations: 1.406 kB / 0.9722 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.7092, allocations: 4 kB / 0.9722 GB, free: 10.09 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003012/0.7122, allocations: 2.276 MB / 0.9744 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.7123, allocations: 12.03 kB / 0.9744 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.7125, allocations: 226 kB / 0.9746 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.7137, allocations: 1.003 MB / 0.9756 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.7139, allocations: 87 kB / 0.9757 GB, free: 6.359 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.714, allocations: 64 kB / 0.9757 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.7152, allocations: 0.729 MB / 0.9764 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.7153, allocations: 0 / 0.9764 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.7154, allocations: 27.98 kB / 0.9765 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.7154, allocations: 12 kB / 0.9765 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7165, allocations: 0.5868 MB / 0.9771 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/0.721, allocations: 3.509 MB / 0.9805 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.7225, allocations: 0.7098 MB / 0.9812 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/0.7232, allocations: 411.7 kB / 0.9816 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.7233, allocations: 16.53 kB / 0.9816 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/0.724, allocations: 426.9 kB / 0.982 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 3.446e-06/0.7241, allocations: 0 / 0.982 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.004104/0.7282, allocations: 1.8 MB / 0.9837 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.7282, allocations: 63.95 kB / 0.9838 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.7314, allocations: 3.304 MB / 0.987 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.7315, allocations: 42.92 kB / 0.9871 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.7321, allocations: 0.886 MB / 0.9879 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.7323, allocations: 224.9 kB / 0.9882 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.7325, allocations: 134.6 kB / 0.9883 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7326, allocations: 334 kB / 0.9886 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.7333, allocations: 301.8 kB / 0.9889 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006853/0.734, allocations: 442.3 kB / 0.9893 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.7352, allocations: 0.7171 MB / 0.99 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7352, allocations: 0 / 0.99 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002153/0.7374, allocations: 1.21 MB / 0.9912 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.7374, allocations: 4 kB / 0.9912 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7374, allocations: 7.938 kB / 0.9912 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006762/0.7381, allocations: 261.6 kB / 0.9915 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.7386, allocations: 129.7 kB / 0.9916 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.7431, allocations: 4.76 MB / 0.9962 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.7437, allocations: 91.33 kB / 0.9963 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.7438, allocations: 32.05 kB / 0.9963 GB, free: 408 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007524/0.7445, allocations: 0.6029 MB / 0.9969 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.7448, allocations: 205.4 kB / 0.9971 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.7451, allocations: 254.2 kB / 0.9974 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7451, allocations: 4 kB / 0.9974 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.7451, allocations: 4 kB / 0.9974 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.7451, allocations: 11.98 kB / 0.9974 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.7486, allocations: 2.339 MB / 0.9997 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7487, allocations: 1.312 kB / 0.9997 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.749, allocations: 63.91 kB / 0.9997 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005968/0.7496, allocations: 249.5 kB / 1 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/0.7496, allocations: 15.98 kB / 1 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004398/0.754, allocations: 4.764 MB / 1.005 GB, free: 7.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.754, allocations: 4.031 kB / 1.005 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.7566, allocations: 1.572 MB / 1.006 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.757, allocations: 310.4 kB / 1.006 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.7572, allocations: 23.98 kB / 1.007 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.7576, allocations: 37.88 kB / 1.007 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.7578, allocations: 72.45 kB / 1.007 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.7578, allocations: 31.98 kB / 1.007 GB, free: 5.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002332/0.7602, allocations: 2.415 MB / 1.009 GB, free: 3.023 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7602, allocations: 0 / 1.009 GB, free: 3.023 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008691/0.7611, allocations: 292.3 kB / 1.009 GB, free: 2.738 MB / 0.795 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001125/0.7622, allocations: 0.4918 MB / 1.01 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.7641, allocations: 1.061 MB / 1.011 GB, free: 1.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7641, allocations: 0.5625 kB / 1.011 GB, free: 1.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.7651, allocations: 0.6937 MB / 1.011 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7663, allocations: 273.9 kB / 1.012 GB, free: 440 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.7712, allocations: 3.983 MB / 1.016 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7723, allocations: 1.532 MB / 1.017 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004025/0.7727, allocations: 149.7 kB / 1.017 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.7729, allocations: 75.41 kB / 1.017 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of SimCode: time 7.31e-07/0.7729, allocations: 0 / 1.017 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.02445/0.7974, allocations: 14.39 MB / 1.031 GB, free: 12.45 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)