Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 124 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.001107/0.001107, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.239/1.239, 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.002/0.002, allocations: 278.6 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9014/0.9014, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 93.67 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1282, allocations: 86.99 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.3909/0.5192, allocations: 156.7 MB / 0.8333 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.5387, allocations: 21.74 MB / 0.8546 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.5404, allocations: 50.81 kB / 0.8546 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.5418, allocations: 1.169 MB / 0.8558 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.5429, allocations: 0.8496 MB / 0.8566 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.5438, allocations: 448.1 kB / 0.857 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009252/0.5447, allocations: 1.25 MB / 0.8582 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006613/0.5454, allocations: 0.6832 MB / 0.8589 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.5459, allocations: 0.548 MB / 0.8594 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007845/0.5467, allocations: 0.9136 MB / 0.8603 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.356e-05/0.5468, allocations: 62.84 kB / 0.8604 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.547, allocations: 117.1 kB / 0.8605 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.5472, allocations: 321.8 kB / 0.8608 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.5476, allocations: 492.9 kB / 0.8613 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.5485, allocations: 1.178 MB / 0.8624 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5485, allocations: 4 kB / 0.8624 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5485, allocations: 0 / 0.8624 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5485, allocations: 0 / 0.8624 GB, free: 4.734 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.001902/0.5504, allocations: 1.476 MB / 0.8639 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.5504, allocations: 10.34 kB / 0.8639 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.449e-05/0.5505, allocations: 85.14 kB / 0.864 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.5507, allocations: 130 kB / 0.8641 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.5514, allocations: 0.6697 MB / 0.8647 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.5515, allocations: 71.47 kB / 0.8648 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.5516, allocations: 42.38 kB / 0.8649 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.5524, allocations: 0.5185 MB / 0.8654 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.5524, allocations: 2.531 kB / 0.8654 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.5525, allocations: 18.22 kB / 0.8654 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5525, allocations: 13.03 kB / 0.8654 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000762/0.5533, allocations: 412.5 kB / 0.8658 GB, free: 2.273 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.003017/0.5563, allocations: 2.742 MB / 0.8685 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.5572, allocations: 440.9 kB / 0.8689 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.5578, allocations: 311.5 kB / 0.8692 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.5578, allocations: 7.422 kB / 0.8692 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.5583, allocations: 281.8 kB / 0.8695 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 1.954e-06/0.5583, allocations: 0 / 0.8695 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.00235/0.5606, allocations: 1.149 MB / 0.8706 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.5607, allocations: 54.09 kB / 0.8706 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.5622, allocations: 1.765 MB / 0.8724 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.5622, allocations: 36.2 kB / 0.8724 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.5626, allocations: 0.5241 MB / 0.8729 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.5627, allocations: 145.8 kB / 0.873 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.5629, allocations: 103.2 kB / 0.8731 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.563, allocations: 326.8 kB / 0.8735 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.5634, allocations: 215.2 kB / 0.8737 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.5639, allocations: 335.6 kB / 0.874 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.5648, allocations: 0.5161 MB / 0.8745 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5648, allocations: 6.594 kB / 0.8745 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0014/0.5662, allocations: 0.8067 MB / 0.8753 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5662, allocations: 6.875 kB / 0.8753 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5662, allocations: 10 kB / 0.8753 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.5666, allocations: 141.4 kB / 0.8754 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.5669, allocations: 104.6 kB / 0.8755 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.5695, allocations: 2.614 MB / 0.8781 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.5699, allocations: 67.16 kB / 0.8781 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.57, allocations: 21.44 kB / 0.8782 GB, free: 9.262 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.0004057/0.5704, allocations: 393.9 kB / 0.8785 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5705, allocations: 126.6 kB / 0.8787 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.5707, allocations: 136.3 kB / 0.8788 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5707, allocations: 5.281 kB / 0.8788 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5707, allocations: 2.469 kB / 0.8788 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5707, allocations: 3.984 kB / 0.8788 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.5728, allocations: 1.494 MB / 0.8803 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5728, allocations: 0 / 0.8803 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.573, allocations: 44.62 kB / 0.8803 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003598/0.5734, allocations: 160.9 kB / 0.8805 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.5734, allocations: 16.66 kB / 0.8805 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/0.5766, allocations: 4.033 MB / 0.8844 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5766, allocations: 0 / 0.8844 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.5781, allocations: 0.9838 MB / 0.8854 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.5784, allocations: 220.9 kB / 0.8856 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.5785, allocations: 13.28 kB / 0.8856 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.5788, allocations: 26.88 kB / 0.8856 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5789, allocations: 54.89 kB / 0.8857 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.5789, allocations: 21.33 kB / 0.8857 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001126/0.58, allocations: 1.288 MB / 0.8869 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5801, allocations: 0 / 0.8869 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006158/0.5807, allocations: 195.8 kB / 0.8871 GB, free: 2.289 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.002727/0.5834, allocations: 1.918 MB / 0.889 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.5848, allocations: 0.6937 MB / 0.8897 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5848, allocations: 0 / 0.8897 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.5855, allocations: 0.5209 MB / 0.8902 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008995/0.5864, allocations: 199.9 kB / 0.8904 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.5971, allocations: 9.077 MB / 0.8992 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.5978, allocations: 1.146 MB / 0.9004 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.5981, allocations: 96.77 kB / 0.9005 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/0.5985, allocations: 407.3 kB / 0.9008 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.5985, allocations: 0 / 0.9008 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.6411, allocations: 20.49 MB / 0.9209 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.843/9.484, allocations: 7.312 kB / 0.9209 GB, free: 15.76 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_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_TestCase1.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)