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.00103/0.00103, allocations: 103.3 kB / 16.27 MB, free: 6.41 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.001078/0.001078, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.265/1.265, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7189/0.7189, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.83 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3304, allocations: 77.91 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1599/0.4903, allocations: 157.2 MB / 0.7208 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02597/0.5163, allocations: 21.99 MB / 0.7423 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.5184, allocations: 55.69 kB / 0.7424 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.5211, allocations: 2.151 MB / 0.7445 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.5235, allocations: 1.425 MB / 0.7459 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.5251, allocations: 0.5815 MB / 0.7464 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.5273, allocations: 1.832 MB / 0.7482 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3345/0.8618, allocations: 1.068 MB / 0.7493 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.8639, allocations: 0.8742 MB / 0.7501 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.8662, allocations: 1.535 MB / 0.7516 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.8665, allocations: 95.09 kB / 0.7517 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.867, allocations: 138 kB / 0.7518 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005214/0.8675, allocations: 0.5259 MB / 0.7523 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008301/0.8683, allocations: 0.7681 MB / 0.7531 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.8705, allocations: 1.829 MB / 0.7549 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8706, allocations: 0.7031 kB / 0.7549 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8706, allocations: 0.9375 kB / 0.7549 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.8706, allocations: 0.5312 kB / 0.7549 GB, free: 4.172 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.003668/0.8743, allocations: 2.287 MB / 0.7571 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8743, allocations: 10.91 kB / 0.7571 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.8745, allocations: 108.3 kB / 0.7572 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.8748, allocations: 229.6 kB / 0.7575 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.876, allocations: 0.9977 MB / 0.7584 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.8761, allocations: 93.33 kB / 0.7585 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.8762, allocations: 64.3 kB / 0.7586 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.8776, allocations: 0.726 MB / 0.7593 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.8777, allocations: 6.516 kB / 0.7593 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.8778, allocations: 23.89 kB / 0.7593 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.8778, allocations: 15.66 kB / 0.7593 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.8791, allocations: 0.5967 MB / 0.7599 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.8839, allocations: 3.525 MB / 0.7634 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.8854, allocations: 0.7071 MB / 0.764 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007327/0.8862, allocations: 414.7 kB / 0.7644 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.8862, allocations: 10.41 kB / 0.7644 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/0.887, allocations: 427.6 kB / 0.7649 GB, free: 488 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.828e-06/0.887, allocations: 3.375 kB / 0.7649 GB, free: 488 kB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.004481/0.8915, allocations: 1.803 MB / 0.7666 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.8916, allocations: 60.22 kB / 0.7667 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/0.896, allocations: 3.311 MB / 0.7699 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.8962, allocations: 44.5 kB / 0.77 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/0.8968, allocations: 0.8901 MB / 0.7708 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.897, allocations: 224.7 kB / 0.771 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.8972, allocations: 124.4 kB / 0.7712 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8973, allocations: 337.3 kB / 0.7715 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.898, allocations: 309.4 kB / 0.7718 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.8986, allocations: 439.1 kB / 0.7722 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.8997, allocations: 0.7145 MB / 0.7729 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.8998, allocations: 2.594 kB / 0.7729 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002196/0.902, allocations: 1.214 MB / 0.7741 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.902, allocations: 6 kB / 0.7741 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.902, allocations: 4.219 kB / 0.7741 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/0.9027, allocations: 268 kB / 0.7743 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.9031, allocations: 135.5 kB / 0.7745 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.9075, allocations: 4.753 MB / 0.7791 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/0.9084, allocations: 94.81 kB / 0.7792 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.9085, allocations: 33.45 kB / 0.7792 GB, free: 11.8 MB / 0.5919 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.001051/0.9095, allocations: 0.6026 MB / 0.7798 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.9098, allocations: 206 kB / 0.78 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.9101, allocations: 255.3 kB / 0.7803 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.9101, allocations: 9.312 kB / 0.7803 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/0.9102, allocations: 2.562 kB / 0.7803 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.9102, allocations: 3.656 kB / 0.7803 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.9136, allocations: 2.335 MB / 0.7826 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9136, allocations: 0 / 0.7826 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.9139, allocations: 69.31 kB / 0.7826 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.9145, allocations: 254.3 kB / 0.7829 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.9145, allocations: 22.44 kB / 0.7829 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.919, allocations: 4.759 MB / 0.7875 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.919, allocations: 0 / 0.7875 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.9216, allocations: 1.576 MB / 0.7891 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.9221, allocations: 305.3 kB / 0.7894 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.9222, allocations: 24.47 kB / 0.7894 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.9227, allocations: 37.83 kB / 0.7894 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.9229, allocations: 77.47 kB / 0.7895 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.9229, allocations: 27.09 kB / 0.7895 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002867/0.9258, allocations: 2.421 MB / 0.7919 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9258, allocations: 0 / 0.7919 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001148/0.9269, allocations: 285.4 kB / 0.7922 GB, free: 7.559 MB / 0.5919 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.00382/0.9308, allocations: 2.514 MB / 0.7946 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.933, allocations: 1.153 MB / 0.7957 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.933, allocations: 1.125 kB / 0.7957 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009548/0.9339, allocations: 0.6895 MB / 0.7964 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.9353, allocations: 278.4 kB / 0.7967 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.9538, allocations: 15.53 MB / 0.8119 GB, free: 184 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.9549, allocations: 1.529 MB / 0.8133 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004773/0.9554, allocations: 153.3 kB / 0.8135 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.9559, allocations: 0.7018 MB / 0.8142 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/0.9559, allocations: 0 / 0.8142 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05655/1.012, allocations: 32.36 MB / 0.8458 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.45/10.46, allocations: 7.438 kB / 0.8458 GB, free: 1.449 MB / 0.6231 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)