Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001235/0.001235, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 295 kB / 290.7 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 96.41 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1403, allocations: 86.97 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4101/0.5504, allocations: 156.7 MB / 0.8333 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.5697, allocations: 21.74 MB / 0.8546 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.5714, allocations: 51 kB / 0.8546 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.5728, allocations: 1.173 MB / 0.8558 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.5739, allocations: 0.848 MB / 0.8566 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.5748, allocations: 446.1 kB / 0.857 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000944/0.5758, allocations: 1.246 MB / 0.8582 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.5764, allocations: 0.679 MB / 0.8589 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.5769, allocations: 0.5517 MB / 0.8594 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.5778, allocations: 0.9112 MB / 0.8603 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.5779, allocations: 65.06 kB / 0.8604 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.5781, allocations: 121.3 kB / 0.8605 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.5783, allocations: 315.3 kB / 0.8608 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.5786, allocations: 495.6 kB / 0.8613 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008754/0.5795, allocations: 1.18 MB / 0.8624 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5795, allocations: 5.938 kB / 0.8624 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5795, allocations: 3.938 kB / 0.8624 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.5796, allocations: 0 / 0.8624 GB, free: 4.824 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001939/0.5815, allocations: 1.468 MB / 0.8639 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.5816, allocations: 7.812 kB / 0.8639 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.609e-05/0.5816, allocations: 85.64 kB / 0.864 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.5818, allocations: 132.9 kB / 0.8641 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.5825, allocations: 0.6699 MB / 0.8647 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.5826, allocations: 74.03 kB / 0.8648 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.5827, allocations: 46.53 kB / 0.8649 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.5836, allocations: 0.5141 MB / 0.8654 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5836, allocations: 0 / 0.8654 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.5836, allocations: 25.75 kB / 0.8654 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.5836, allocations: 13.73 kB / 0.8654 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.5844, allocations: 414.9 kB / 0.8658 GB, free: 2.359 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.5874, allocations: 2.735 MB / 0.8685 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.5883, allocations: 447.8 kB / 0.8689 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.5888, allocations: 310.4 kB / 0.8692 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.5889, allocations: 5.688 kB / 0.8692 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.5894, allocations: 274.7 kB / 0.8694 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 1.883e-06/0.5894, allocations: 6.531 kB / 0.8695 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.00232/0.5917, allocations: 1.143 MB / 0.8706 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.5918, allocations: 60.83 kB / 0.8706 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.5932, allocations: 1.759 MB / 0.8723 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.5933, allocations: 38.52 kB / 0.8724 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.5936, allocations: 0.5247 MB / 0.8729 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.5938, allocations: 157.8 kB / 0.873 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.5939, allocations: 94.41 kB / 0.8731 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.594, allocations: 331.2 kB / 0.8735 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.5944, allocations: 205.4 kB / 0.8736 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.5949, allocations: 342 kB / 0.874 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.5957, allocations: 0.5141 MB / 0.8745 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5957, allocations: 6.156 kB / 0.8745 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001331/0.5971, allocations: 0.8132 MB / 0.8753 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5971, allocations: 4.781 kB / 0.8753 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5971, allocations: 5.594 kB / 0.8753 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.5975, allocations: 138.5 kB / 0.8754 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.5978, allocations: 102.9 kB / 0.8755 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.6002, allocations: 2.614 MB / 0.8781 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.6006, allocations: 70.84 kB / 0.8781 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.6006, allocations: 29.61 kB / 0.8782 GB, free: 9.348 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003565/0.601, allocations: 387.9 kB / 0.8785 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6011, allocations: 123.2 kB / 0.8787 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.6013, allocations: 142.2 kB / 0.8788 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6013, allocations: 3 kB / 0.8788 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.6013, allocations: 4.906 kB / 0.8788 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6013, allocations: 7.984 kB / 0.8788 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.6033, allocations: 1.49 MB / 0.8803 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6033, allocations: 2.906 kB / 0.8803 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.6035, allocations: 40.28 kB / 0.8803 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.6038, allocations: 168.5 kB / 0.8805 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.6039, allocations: 13.08 kB / 0.8805 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.6069, allocations: 4.033 MB / 0.8844 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6069, allocations: 0 / 0.8844 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.6084, allocations: 0.9873 MB / 0.8854 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.6086, allocations: 213 kB / 0.8856 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.6087, allocations: 12.59 kB / 0.8856 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.609, allocations: 31.72 kB / 0.8856 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6091, allocations: 62.23 kB / 0.8857 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.6091, allocations: 18.05 kB / 0.8857 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001084/0.6102, allocations: 1.289 MB / 0.887 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6102, allocations: 0 / 0.887 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005972/0.6108, allocations: 187.8 kB / 0.8871 GB, free: 2.426 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.00263/0.6135, allocations: 1.911 MB / 0.889 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.6148, allocations: 0.6899 MB / 0.8897 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6148, allocations: 0 / 0.8897 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.6155, allocations: 0.5287 MB / 0.8902 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.6164, allocations: 202.6 kB / 0.8904 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.6267, allocations: 9.071 MB / 0.8992 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.6274, allocations: 1.146 MB / 0.9004 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000271/0.6277, allocations: 96.77 kB / 0.9005 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.6281, allocations: 407.3 kB / 0.9008 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.6281, allocations: 0 / 0.9008 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.6726, allocations: 20.49 MB / 0.9209 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.749/9.422, allocations: 14.56 kB / 0.9209 GB, free: 15.88 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)