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: "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 105.9 kB / 16.4 MB, free: 6.461 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.00132/0.00132, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8164/0.8164, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.91 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1281, allocations: 78.87 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4451/0.5732, allocations: 157.3 MB / 0.8041 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.5944, allocations: 22.01 MB / 0.8256 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.5963, allocations: 54.88 kB / 0.8257 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.5987, allocations: 2.151 MB / 0.8278 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.6006, allocations: 1.419 MB / 0.8292 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.6019, allocations: 0.5843 MB / 0.8297 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.6036, allocations: 1.832 MB / 0.8315 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.6047, allocations: 1.089 MB / 0.8326 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008336/0.6056, allocations: 0.8778 MB / 0.8335 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.607, allocations: 1.538 MB / 0.835 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.6071, allocations: 92.78 kB / 0.835 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.6074, allocations: 134.3 kB / 0.8352 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.6078, allocations: 0.5235 MB / 0.8357 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/0.6085, allocations: 0.767 MB / 0.8364 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.6103, allocations: 1.869 MB / 0.8383 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6103, allocations: 0 / 0.8383 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6103, allocations: 6.219 kB / 0.8383 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.949e-05/0.6103, allocations: 0 / 0.8383 GB, free: 15.62 MB / 0.6075 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.003298/0.6136, allocations: 2.355 MB / 0.8406 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6137, allocations: 7.906 kB / 0.8406 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.6138, allocations: 113.4 kB / 0.8407 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.6141, allocations: 240.7 kB / 0.8409 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.6154, allocations: 1.035 MB / 0.8419 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.6155, allocations: 86.06 kB / 0.842 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/0.6156, allocations: 60.34 kB / 0.8421 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.6169, allocations: 0.7296 MB / 0.8428 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6169, allocations: 0 / 0.8428 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.617, allocations: 29.2 kB / 0.8428 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.617, allocations: 14.94 kB / 0.8428 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.6182, allocations: 0.5984 MB / 0.8434 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.623, allocations: 3.498 MB / 0.8468 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.6246, allocations: 0.7152 MB / 0.8475 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.6254, allocations: 417.2 kB / 0.8479 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.6255, allocations: 12.55 kB / 0.8479 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008942/0.6264, allocations: 437.2 kB / 0.8483 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/0.6264, allocations: 0 / 0.8483 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.004589/0.631, allocations: 1.801 MB / 0.8501 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.6311, allocations: 63.95 kB / 0.8502 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/0.6348, allocations: 3.312 MB / 0.8534 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.6349, allocations: 45.69 kB / 0.8534 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008714/0.6357, allocations: 0.8933 MB / 0.8543 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.636, allocations: 231.2 kB / 0.8545 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.6362, allocations: 130.7 kB / 0.8547 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6363, allocations: 337.9 kB / 0.855 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/0.6371, allocations: 305.8 kB / 0.8553 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.638, allocations: 438.4 kB / 0.8557 GB, free: 108 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.6394, allocations: 0.72 MB / 0.8564 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6394, allocations: 0 / 0.8564 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002449/0.6419, allocations: 1.225 MB / 0.8576 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6419, allocations: 8 kB / 0.8576 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6419, allocations: 0 / 0.8576 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.6427, allocations: 259.5 kB / 0.8578 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.6432, allocations: 131.8 kB / 0.858 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005559/0.6488, allocations: 4.767 MB / 0.8626 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.6493, allocations: 99.47 kB / 0.8627 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.6494, allocations: 28 kB / 0.8627 GB, free: 8.551 MB / 0.6231 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.0008132/0.6502, allocations: 0.599 MB / 0.8633 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.6505, allocations: 214.6 kB / 0.8635 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.6509, allocations: 248.5 kB / 0.8638 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6509, allocations: 8 kB / 0.8638 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6509, allocations: 8 kB / 0.8638 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6509, allocations: 7.922 kB / 0.8638 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.6548, allocations: 2.342 MB / 0.8661 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6548, allocations: 0 / 0.8661 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.6551, allocations: 63.89 kB / 0.8661 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006663/0.6558, allocations: 261.4 kB / 0.8664 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.6559, allocations: 15.98 kB / 0.8664 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00548/0.6614, allocations: 4.754 MB / 0.8711 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6614, allocations: 0 / 0.8711 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.6643, allocations: 1.593 MB / 0.8726 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.6647, allocations: 315.6 kB / 0.8729 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6649, allocations: 23.94 kB / 0.8729 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.6653, allocations: 39.89 kB / 0.873 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.6655, allocations: 76.69 kB / 0.873 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.6656, allocations: 20 kB / 0.8731 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002836/0.6684, allocations: 2.431 MB / 0.8754 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6684, allocations: 0 / 0.8754 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008763/0.6693, allocations: 291.6 kB / 0.8757 GB, free: 10.86 MB / 0.6387 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.004969/0.6743, allocations: 2.528 MB / 0.8782 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.6764, allocations: 1.065 MB / 0.8792 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6764, allocations: 0 / 0.8792 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.6776, allocations: 0.6902 MB / 0.8799 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.6789, allocations: 285.7 kB / 0.8802 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/0.6999, allocations: 13.8 MB / 0.8936 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.7016, allocations: 1.528 MB / 0.8951 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004541/0.7021, allocations: 154.3 kB / 0.8953 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008347/0.703, allocations: 0.6984 MB / 0.896 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.703, allocations: 0 / 0.896 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0856/0.7886, allocations: 32.95 MB / 0.9281 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.07, allocations: 11.94 kB / 0.9282 GB, free: 5.332 MB / 0.6856 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)