Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.00114/0.00114, allocations: 108 kB / 15.6 MB, free: 132 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.001153/0.001154, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 283.1 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 169.2 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 99.42 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.3948/0.5225, allocations: 156.7 MB / 0.8333 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.5433, allocations: 21.74 MB / 0.8546 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.5452, allocations: 51.03 kB / 0.8546 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.5465, allocations: 1.17 MB / 0.8558 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.5477, allocations: 0.852 MB / 0.8566 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.5486, allocations: 443.6 kB / 0.857 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009442/0.5496, allocations: 1.245 MB / 0.8582 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.5503, allocations: 0.6899 MB / 0.8589 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.5507, allocations: 0.5443 MB / 0.8594 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007854/0.5515, allocations: 0.9217 MB / 0.8603 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.5516, allocations: 65.44 kB / 0.8604 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.5519, allocations: 113.2 kB / 0.8605 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.5521, allocations: 319 kB / 0.8608 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.5524, allocations: 495.6 kB / 0.8613 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008833/0.5533, allocations: 1.18 MB / 0.8624 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5534, allocations: 2.406 kB / 0.8624 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5534, allocations: 0 / 0.8624 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.5534, allocations: 0 / 0.8624 GB, free: 4.793 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.001899/0.5553, allocations: 1.477 MB / 0.8639 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.5553, allocations: 9.906 kB / 0.8639 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.5554, allocations: 88.08 kB / 0.864 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.5556, allocations: 130.2 kB / 0.8641 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.5563, allocations: 0.6621 MB / 0.8647 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.5564, allocations: 68.38 kB / 0.8648 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.5565, allocations: 52.25 kB / 0.8649 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/0.5573, allocations: 0.5192 MB / 0.8654 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5574, allocations: 0 / 0.8654 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.5574, allocations: 16.81 kB / 0.8654 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.5574, allocations: 10.22 kB / 0.8654 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.5582, allocations: 422.7 kB / 0.8658 GB, free: 2.324 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.003149/0.5613, allocations: 2.801 MB / 0.8685 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.5623, allocations: 459.4 kB / 0.869 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.5628, allocations: 289 kB / 0.8692 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.5628, allocations: 5.062 kB / 0.8692 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.5634, allocations: 295.1 kB / 0.8695 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 4.358e-06/0.5634, allocations: 0 / 0.8695 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002667/0.5661, allocations: 1.25 MB / 0.8707 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.5661, allocations: 56.69 kB / 0.8708 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.5676, allocations: 1.745 MB / 0.8725 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.5677, allocations: 42.66 kB / 0.8725 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.568, allocations: 0.519 MB / 0.8731 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.5681, allocations: 146.2 kB / 0.8732 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.5683, allocations: 102.3 kB / 0.8733 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.5684, allocations: 326.5 kB / 0.8736 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.5688, allocations: 214.4 kB / 0.8738 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.5693, allocations: 329.8 kB / 0.8741 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.5701, allocations: 0.512 MB / 0.8746 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5702, allocations: 0 / 0.8746 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001447/0.5716, allocations: 0.8456 MB / 0.8754 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5716, allocations: 7.75 kB / 0.8755 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5716, allocations: 1.812 kB / 0.8755 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/0.5721, allocations: 194.2 kB / 0.8756 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.5724, allocations: 95.66 kB / 0.8757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.5755, allocations: 3.006 MB / 0.8787 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.5759, allocations: 70.98 kB / 0.8787 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.576, allocations: 19.75 kB / 0.8788 GB, free: 8.992 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003902/0.5763, allocations: 393.3 kB / 0.8791 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.5765, allocations: 118.6 kB / 0.8792 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.5767, allocations: 136.7 kB / 0.8794 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.5767, allocations: 4.844 kB / 0.8794 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5767, allocations: 2.594 kB / 0.8794 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.5767, allocations: 6.109 kB / 0.8794 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.5788, allocations: 1.564 MB / 0.8809 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5789, allocations: 0 / 0.8809 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.5791, allocations: 48.39 kB / 0.881 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.5795, allocations: 193.1 kB / 0.8811 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.5796, allocations: 14.67 kB / 0.8812 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/0.5834, allocations: 4.56 MB / 0.8856 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5834, allocations: 0 / 0.8856 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.585, allocations: 1.061 MB / 0.8866 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.5853, allocations: 215.3 kB / 0.8869 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.5854, allocations: 13.66 kB / 0.8869 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.5857, allocations: 32.16 kB / 0.8869 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5858, allocations: 50.98 kB / 0.8869 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.5858, allocations: 14.12 kB / 0.887 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001184/0.587, allocations: 1.282 MB / 0.8882 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.587, allocations: 0 / 0.8882 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006783/0.5877, allocations: 211.6 kB / 0.8884 GB, free: 1.082 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,13,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.002853/0.5906, allocations: 1.988 MB / 0.8904 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.5921, allocations: 0.7597 MB / 0.8911 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5921, allocations: 0 / 0.8911 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.5929, allocations: 0.5518 MB / 0.8916 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.5938, allocations: 202.5 kB / 0.8918 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6049, allocations: 9.14 MB / 0.9008 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.6056, allocations: 1.149 MB / 0.9019 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002764/0.6059, allocations: 88.8 kB / 0.902 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.6063, allocations: 407.3 kB / 0.9023 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.6063, allocations: 0 / 0.9023 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.6521, allocations: 20.88 MB / 0.9227 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/9.55, allocations: 8.672 kB / 0.9227 GB, free: 13.95 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_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_TestCase4.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)