Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001208/0.001208, 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.001215/0.001215, allocations: 192.5 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 282.8 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9083/0.9083, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 99.78 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1329, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4062/0.5391, allocations: 156.7 MB / 0.8333 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.5599, allocations: 21.75 MB / 0.8546 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.5619, allocations: 58.75 kB / 0.8546 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.5633, allocations: 1.162 MB / 0.8558 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.5645, allocations: 0.8554 MB / 0.8566 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.5654, allocations: 443.4 kB / 0.857 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.5666, allocations: 1.243 MB / 0.8582 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006997/0.5673, allocations: 0.6874 MB / 0.8589 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.5679, allocations: 0.5552 MB / 0.8594 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008104/0.5687, allocations: 0.912 MB / 0.8603 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.344e-05/0.5688, allocations: 69.66 kB / 0.8604 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.569, allocations: 110.8 kB / 0.8605 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.5692, allocations: 313.5 kB / 0.8608 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.5696, allocations: 0.4919 MB / 0.8613 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.5705, allocations: 1.178 MB / 0.8624 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5705, allocations: 1.812 kB / 0.8624 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5705, allocations: 0 / 0.8624 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.5706, allocations: 0 / 0.8624 GB, free: 4.773 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.001964/0.5725, allocations: 1.476 MB / 0.8639 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5726, allocations: 14.38 kB / 0.8639 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.458e-05/0.5727, allocations: 79.27 kB / 0.864 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.5728, allocations: 136.7 kB / 0.8641 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.5735, allocations: 0.6587 MB / 0.8647 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.5736, allocations: 73.5 kB / 0.8648 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.5737, allocations: 46.81 kB / 0.8649 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.5746, allocations: 0.5219 MB / 0.8654 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5746, allocations: 0 / 0.8654 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.5746, allocations: 17.41 kB / 0.8654 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5747, allocations: 14.14 kB / 0.8654 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.5754, allocations: 415.1 kB / 0.8658 GB, free: 2.309 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.003148/0.5786, allocations: 2.801 MB / 0.8685 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.5795, allocations: 458.6 kB / 0.869 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.58, allocations: 284.4 kB / 0.8692 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.58, allocations: 13.09 kB / 0.8693 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.5805, allocations: 293.8 kB / 0.8695 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.5806, allocations: 0 / 0.8695 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002649/0.5832, allocations: 1.243 MB / 0.8707 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.5833, allocations: 65.16 kB / 0.8708 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.5848, allocations: 1.745 MB / 0.8725 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.5849, allocations: 38.45 kB / 0.8725 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.5853, allocations: 0.5251 MB / 0.8731 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5854, allocations: 143.6 kB / 0.8732 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.5856, allocations: 94.19 kB / 0.8733 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5857, allocations: 326.9 kB / 0.8736 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.5861, allocations: 222.8 kB / 0.8738 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.5867, allocations: 327.4 kB / 0.8741 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.5875, allocations: 0.5103 MB / 0.8746 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5875, allocations: 0 / 0.8746 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001455/0.589, allocations: 0.8414 MB / 0.8754 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.589, allocations: 12.72 kB / 0.8755 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.589, allocations: 5.688 kB / 0.8755 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.5895, allocations: 188.5 kB / 0.8756 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.5898, allocations: 96.23 kB / 0.8757 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/0.5929, allocations: 3 MB / 0.8787 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.5933, allocations: 75.55 kB / 0.8787 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.5933, allocations: 22.81 kB / 0.8788 GB, free: 8.977 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.0003668/0.5937, allocations: 389.2 kB / 0.8791 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5938, allocations: 119.2 kB / 0.8792 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.594, allocations: 144.2 kB / 0.8794 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.594, allocations: 5.125 kB / 0.8794 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.5941, allocations: 2.75 kB / 0.8794 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.5941, allocations: 3.984 kB / 0.8794 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.5962, allocations: 1.558 MB / 0.8809 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5962, allocations: 0 / 0.8809 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.5964, allocations: 48.89 kB / 0.881 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/0.5968, allocations: 192.8 kB / 0.8811 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.5969, allocations: 17.02 kB / 0.8812 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.6006, allocations: 4.559 MB / 0.8856 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6006, allocations: 3.938 kB / 0.8856 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.6022, allocations: 1.064 MB / 0.8867 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.6024, allocations: 220.5 kB / 0.8869 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/0.6025, allocations: 12.41 kB / 0.8869 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.6028, allocations: 27.22 kB / 0.8869 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.603, allocations: 50.89 kB / 0.8869 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.603, allocations: 17.55 kB / 0.887 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00116/0.6042, allocations: 1.281 MB / 0.8882 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6042, allocations: 4 kB / 0.8882 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006688/0.6049, allocations: 203.6 kB / 0.8884 GB, free: 1.07 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.002814/0.6077, allocations: 1.987 MB / 0.8904 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.6091, allocations: 0.767 MB / 0.8911 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6091, allocations: 0.6875 kB / 0.8911 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007984/0.6099, allocations: 0.5476 MB / 0.8916 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/0.6108, allocations: 194 kB / 0.8918 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.6218, allocations: 9.146 MB / 0.9008 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007395/0.6225, allocations: 1.149 MB / 0.9019 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002638/0.6228, allocations: 92.72 kB / 0.902 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.6232, allocations: 403.3 kB / 0.9024 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.6232, allocations: 4 kB / 0.9024 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/0.6695, allocations: 20.87 MB / 0.9227 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.458, allocations: 18.61 kB / 0.9228 GB, free: 13.94 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_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_TestCase2.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)