Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.001571/0.001571, allocations: 104 kB / 16.4 MB, free: 6.492 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.001249/0.001249, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.409/1.409, allocations: 222.9 MB / 241 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.8176/0.8176, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.23 kB / 0.5735 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1312, allocations: 78.86 MB / 0.6505 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.4618/0.593, allocations: 157.6 MB / 0.8044 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.6145, allocations: 22.09 MB / 0.826 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.6163, allocations: 59.09 kB / 0.8261 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.6187, allocations: 2.167 MB / 0.8282 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002/0.6207, allocations: 1.455 MB / 0.8296 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.6222, allocations: 0.6176 MB / 0.8302 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.6241, allocations: 1.95 MB / 0.8321 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.6254, allocations: 1.124 MB / 0.8332 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009177/0.6263, allocations: 0.9244 MB / 0.8341 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.628, allocations: 1.595 MB / 0.8357 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.6281, allocations: 98.62 kB / 0.8358 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.6285, allocations: 138.4 kB / 0.8359 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004659/0.6289, allocations: 0.5659 MB / 0.8365 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007168/0.6296, allocations: 0.8076 MB / 0.8372 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.6316, allocations: 1.953 MB / 0.8391 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6316, allocations: 0 / 0.8391 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6317, allocations: 2.844 kB / 0.8392 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.6317, allocations: 0 / 0.8392 GB, free: 15.1 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003497/0.6352, allocations: 2.446 MB / 0.8415 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6352, allocations: 10.09 kB / 0.8415 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.6354, allocations: 113.4 kB / 0.8417 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.6357, allocations: 254.8 kB / 0.8419 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.637, allocations: 1.069 MB / 0.8429 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.6372, allocations: 86.94 kB / 0.843 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.6373, allocations: 75.61 kB / 0.8431 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6386, allocations: 0.7962 MB / 0.8439 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.6387, allocations: 2.562 kB / 0.8439 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.6388, allocations: 33.39 kB / 0.8439 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.6388, allocations: 15.09 kB / 0.8439 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.64, allocations: 0.6305 MB / 0.8445 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.6451, allocations: 3.743 MB / 0.8482 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.6468, allocations: 0.7433 MB / 0.8489 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000864/0.6477, allocations: 434.7 kB / 0.8493 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.6477, allocations: 12.55 kB / 0.8493 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008685/0.6486, allocations: 450.6 kB / 0.8498 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/0.6486, allocations: 0 / 0.8498 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.004577/0.6532, allocations: 1.854 MB / 0.8516 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.6533, allocations: 60.06 kB / 0.8516 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/0.6571, allocations: 3.371 MB / 0.8549 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.6572, allocations: 41.7 kB / 0.855 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/0.6581, allocations: 0.9323 MB / 0.8559 GB, free: 124 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.6583, allocations: 251.3 kB / 0.8561 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.6586, allocations: 134.7 kB / 0.8563 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6587, allocations: 337.9 kB / 0.8566 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/0.6595, allocations: 317.8 kB / 0.8569 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.6604, allocations: 475.9 kB / 0.8573 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.6618, allocations: 0.7505 MB / 0.8581 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6618, allocations: 0 / 0.8581 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002489/0.6643, allocations: 1.258 MB / 0.8593 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6644, allocations: 4 kB / 0.8593 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6644, allocations: 7.984 kB / 0.8593 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007574/0.6651, allocations: 261.5 kB / 0.8596 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.6657, allocations: 143.7 kB / 0.8597 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.6713, allocations: 4.748 MB / 0.8643 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.672, allocations: 107.4 kB / 0.8644 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.672, allocations: 32.05 kB / 0.8645 GB, free: 6.957 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008159/0.6729, allocations: 0.6146 MB / 0.8651 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.6731, allocations: 222.5 kB / 0.8653 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.6735, allocations: 261.2 kB / 0.8655 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6735, allocations: 8 kB / 0.8655 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.6736, allocations: 4 kB / 0.8655 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6736, allocations: 11.92 kB / 0.8656 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/0.6775, allocations: 2.424 MB / 0.8679 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6776, allocations: 0 / 0.8679 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.6779, allocations: 71.89 kB / 0.868 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006481/0.6786, allocations: 245.5 kB / 0.8682 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.6786, allocations: 19.98 kB / 0.8682 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.6841, allocations: 4.757 MB / 0.8729 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6841, allocations: 0 / 0.8729 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.6871, allocations: 1.647 MB / 0.8745 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.6876, allocations: 335.5 kB / 0.8748 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.6877, allocations: 16 kB / 0.8748 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.6882, allocations: 35.95 kB / 0.8749 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.6884, allocations: 76.55 kB / 0.8749 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.6884, allocations: 28 kB / 0.875 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002878/0.6913, allocations: 2.472 MB / 0.8774 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6913, allocations: 0 / 0.8774 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008568/0.6922, allocations: 307.5 kB / 0.8777 GB, free: 9.031 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.005014/0.6972, allocations: 2.587 MB / 0.8802 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002143/0.6994, allocations: 1.092 MB / 0.8813 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6994, allocations: 0 / 0.8813 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.7006, allocations: 0.7054 MB / 0.882 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.702, allocations: 292 kB / 0.8822 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.7226, allocations: 14.22 MB / 0.8961 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.724, allocations: 1.552 MB / 0.8976 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004322/0.7245, allocations: 162.7 kB / 0.8978 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009207/0.7254, allocations: 0.7492 MB / 0.8985 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7254, allocations: 4 kB / 0.8985 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07567/0.8011, allocations: 34.29 MB / 0.932 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.24, allocations: 3.938 kB / 0.932 GB, free: 1.559 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_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_TestCase10.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)