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.001026/0.001026, allocations: 110.2 kB / 16.41 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.0009877/0.0009877, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7575/0.7575, allocations: 122.8 MB / 414 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.88 kB / 0.5679 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 77.93 MB / 0.6441 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.4278/0.547, allocations: 157.5 MB / 0.7979 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02055/0.5676, allocations: 22.09 MB / 0.8195 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.5695, allocations: 57.72 kB / 0.8195 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.5717, allocations: 2.169 MB / 0.8216 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.5735, allocations: 1.472 MB / 0.8231 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5748, allocations: 0.6285 MB / 0.8237 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.5764, allocations: 1.947 MB / 0.8256 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.5775, allocations: 1.125 MB / 0.8267 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008252/0.5783, allocations: 0.9273 MB / 0.8276 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.5797, allocations: 1.599 MB / 0.8292 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.5799, allocations: 95.84 kB / 0.8292 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.5801, allocations: 143.2 kB / 0.8294 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.5805, allocations: 0.558 MB / 0.8299 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006044/0.5811, allocations: 0.8095 MB / 0.8307 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.5828, allocations: 1.954 MB / 0.8326 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5828, allocations: 2.844 kB / 0.8326 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5828, allocations: 4 kB / 0.8326 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.5828, allocations: 0 / 0.8326 GB, free: 1.23 MB / 0.5919 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.003286/0.5861, allocations: 2.446 MB / 0.835 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5862, allocations: 8.188 kB / 0.835 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.5863, allocations: 111.2 kB / 0.8351 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.5866, allocations: 251.4 kB / 0.8354 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.5879, allocations: 1.066 MB / 0.8364 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.5881, allocations: 94.91 kB / 0.8365 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.5882, allocations: 71.33 kB / 0.8366 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.5895, allocations: 0.7891 MB / 0.8373 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.5896, allocations: 3.984 kB / 0.8374 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.5896, allocations: 35.03 kB / 0.8374 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.5897, allocations: 15.19 kB / 0.8374 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5909, allocations: 0.639 MB / 0.838 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.5956, allocations: 3.733 MB / 0.8417 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5971, allocations: 0.7492 MB / 0.8424 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007573/0.5979, allocations: 436.1 kB / 0.8428 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.5979, allocations: 7.938 kB / 0.8428 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007813/0.5987, allocations: 459.7 kB / 0.8433 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.604e-06/0.5987, allocations: 0 / 0.8433 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.004285/0.603, allocations: 1.835 MB / 0.8451 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.6031, allocations: 69.95 kB / 0.8451 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/0.6065, allocations: 3.367 MB / 0.8484 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.6066, allocations: 53.62 kB / 0.8485 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007537/0.6074, allocations: 0.9344 MB / 0.8494 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.6076, allocations: 242.3 kB / 0.8496 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.6078, allocations: 138.7 kB / 0.8497 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6079, allocations: 337.9 kB / 0.8501 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.6086, allocations: 321.7 kB / 0.8504 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.6094, allocations: 475.9 kB / 0.8508 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.6108, allocations: 0.7496 MB / 0.8516 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.6108, allocations: 0 / 0.8516 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002341/0.6131, allocations: 1.266 MB / 0.8528 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6132, allocations: 8.094 kB / 0.8528 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6132, allocations: 8 kB / 0.8528 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.6139, allocations: 253.5 kB / 0.853 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.6144, allocations: 135.8 kB / 0.8532 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004873/0.6193, allocations: 4.759 MB / 0.8578 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.6201, allocations: 95.47 kB / 0.8579 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.6202, allocations: 28 kB / 0.8579 GB, free: 10.27 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.0008134/0.621, allocations: 0.6133 MB / 0.8585 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.6212, allocations: 226.4 kB / 0.8588 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.6216, allocations: 265.2 kB / 0.859 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6216, allocations: 8.141 kB / 0.859 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.6216, allocations: 0 / 0.859 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6216, allocations: 11.97 kB / 0.859 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.6255, allocations: 2.414 MB / 0.8614 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6255, allocations: 7.875 kB / 0.8614 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.6258, allocations: 67.95 kB / 0.8615 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/0.6265, allocations: 255.7 kB / 0.8617 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.6265, allocations: 23.98 kB / 0.8617 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/0.6312, allocations: 4.741 MB / 0.8664 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6312, allocations: 0 / 0.8664 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.6341, allocations: 1.654 MB / 0.868 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000494/0.6346, allocations: 327.5 kB / 0.8683 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.6348, allocations: 24 kB / 0.8683 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.6353, allocations: 39.95 kB / 0.8683 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.6354, allocations: 84.44 kB / 0.8684 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.6355, allocations: 23.98 kB / 0.8684 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002584/0.6381, allocations: 2.468 MB / 0.8709 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6381, allocations: 0 / 0.8709 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008902/0.639, allocations: 307.6 kB / 0.8711 GB, free: 12.34 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.004004/0.643, allocations: 2.578 MB / 0.8737 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.645, allocations: 1.102 MB / 0.8747 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6451, allocations: 0 / 0.8747 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.6462, allocations: 0.7043 MB / 0.8754 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.6476, allocations: 294.9 kB / 0.8757 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/0.666, allocations: 14.21 MB / 0.8896 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.6672, allocations: 1.56 MB / 0.8911 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004592/0.6676, allocations: 158.7 kB / 0.8913 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/0.6684, allocations: 0.7492 MB / 0.892 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.6684, allocations: 0 / 0.892 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06757/0.736, allocations: 34.29 MB / 0.9255 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.65, allocations: 25.34 kB / 0.9255 GB, free: 4.859 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)