Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009732/0.0009735, allocations: 108.6 kB / 17.03 MB, free: 5.656 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.001024/0.001025, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.231/1.231, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6713/0.6713, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 71.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3458, allocations: 76.14 MB / 0.5576 GB, free: 36.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1604/0.5063, allocations: 157.2 MB / 0.7111 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02401/0.5303, allocations: 21.99 MB / 0.7326 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.532, allocations: 55.69 kB / 0.7326 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.5343, allocations: 2.155 MB / 0.7348 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.5362, allocations: 1.425 MB / 0.7361 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.5375, allocations: 0.5834 MB / 0.7367 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.5392, allocations: 1.824 MB / 0.7385 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.5404, allocations: 1.087 MB / 0.7396 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.5413, allocations: 0.8763 MB / 0.7404 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.5427, allocations: 1.545 MB / 0.7419 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.5428, allocations: 88 kB / 0.742 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.5431, allocations: 136 kB / 0.7421 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.5435, allocations: 0.5313 MB / 0.7427 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005861/0.5441, allocations: 0.7641 MB / 0.7434 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.5456, allocations: 1.86 MB / 0.7452 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5456, allocations: 0 / 0.7452 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5456, allocations: 0 / 0.7452 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.5456, allocations: 0 / 0.7452 GB, free: 3.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00303/0.5487, allocations: 2.292 MB / 0.7475 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5487, allocations: 8.031 kB / 0.7475 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.549, allocations: 230 kB / 0.7477 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5503, allocations: 1.011 MB / 0.7487 GB, free: 248 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.5504, allocations: 90.94 kB / 0.7488 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.544e-05/0.5505, allocations: 64 kB / 0.7488 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2551/0.8056, allocations: 0.7192 MB / 0.7495 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.8057, allocations: 5.406 kB / 0.7495 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.8057, allocations: 23.22 kB / 0.7495 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.8058, allocations: 15.72 kB / 0.7496 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.807, allocations: 0.5922 MB / 0.7501 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.8115, allocations: 3.499 MB / 0.7536 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.813, allocations: 0.7077 MB / 0.7542 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007284/0.8137, allocations: 412.5 kB / 0.7546 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.8138, allocations: 9.484 kB / 0.7547 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008129/0.8146, allocations: 445.7 kB / 0.7551 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/0.8146, allocations: 0 / 0.7551 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.003928/0.8186, allocations: 1.792 MB / 0.7568 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.8186, allocations: 59.45 kB / 0.7569 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.822, allocations: 3.309 MB / 0.7601 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.822, allocations: 47.8 kB / 0.7602 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.8226, allocations: 0.8938 MB / 0.761 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.8228, allocations: 228.1 kB / 0.7612 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.823, allocations: 131.2 kB / 0.7614 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.8231, allocations: 334.2 kB / 0.7617 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/0.8237, allocations: 304.7 kB / 0.762 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.8243, allocations: 435.5 kB / 0.7624 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.8255, allocations: 0.7209 MB / 0.7631 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8255, allocations: 3 kB / 0.7631 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002106/0.8276, allocations: 1.207 MB / 0.7643 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.8276, allocations: 7.688 kB / 0.7643 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8276, allocations: 5.625 kB / 0.7643 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006727/0.8283, allocations: 263.1 kB / 0.7645 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.8288, allocations: 131.7 kB / 0.7647 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.8329, allocations: 4.758 MB / 0.7693 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.8335, allocations: 91.89 kB / 0.7694 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.8336, allocations: 30.11 kB / 0.7694 GB, free: 165.5 MB / 0.5762 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_last,$PRE.mean.y_last,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.0009372/0.8345, allocations: 0.6041 MB / 0.77 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.8347, allocations: 210.9 kB / 0.7702 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.8351, allocations: 250 kB / 0.7705 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.8351, allocations: 6.906 kB / 0.7705 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.87e-05/0.8352, allocations: 8.297 kB / 0.7705 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.8352, allocations: 4.266 kB / 0.7705 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003825/0.839, allocations: 2.333 MB / 0.7728 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.839, allocations: 0.75 kB / 0.7728 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.8393, allocations: 64.78 kB / 0.7728 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006056/0.8399, allocations: 258.2 kB / 0.7731 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.84, allocations: 22 kB / 0.7731 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/0.844, allocations: 4.755 MB / 0.7777 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.844, allocations: 5.062 kB / 0.7777 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.8468, allocations: 1.571 MB / 0.7793 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.8473, allocations: 313.7 kB / 0.7796 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.8475, allocations: 16.33 kB / 0.7796 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.8479, allocations: 43.09 kB / 0.7796 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.8482, allocations: 76.75 kB / 0.7797 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.8482, allocations: 24.3 kB / 0.7797 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003514/0.8518, allocations: 2.424 MB / 0.7821 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8518, allocations: 3.938 kB / 0.7821 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0011/0.8529, allocations: 294.9 kB / 0.7824 GB, free: 158.3 MB / 0.5762 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_last) * 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.001183/0.8541, allocations: 488.7 kB / 0.7828 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.856, allocations: 1.056 MB / 0.7839 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.856, allocations: 2.625 kB / 0.7839 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009486/0.8569, allocations: 0.6888 MB / 0.7846 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.8581, allocations: 291.4 kB / 0.7848 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.8626, allocations: 3.997 MB / 0.7887 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/0.8634, allocations: 1.533 MB / 0.7902 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003539/0.8638, allocations: 150.4 kB / 0.7904 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.864, allocations: 63.42 kB / 0.7904 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.864, allocations: 4 kB / 0.7904 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02079/0.8848, allocations: 14.4 MB / 0.8045 GB, free: 139.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)