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.001281/0.001282, allocations: 108 kB / 15.61 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.001268/0.001268, allocations: 196.9 kB / 16.53 MB, free: 6.656 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.333/1.333, 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.002409/0.00241, allocations: 282.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002653, allocations: 92.81 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1635, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.471/0.6346, allocations: 156.7 MB / 0.8466 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02539/0.66, allocations: 21.76 MB / 0.8679 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.6619, allocations: 54.94 kB / 0.8679 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.6634, allocations: 1.165 MB / 0.8691 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.6647, allocations: 0.8456 MB / 0.8699 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.6658, allocations: 446.9 kB / 0.8703 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.667, allocations: 1.247 MB / 0.8716 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.6678, allocations: 0.6752 MB / 0.8722 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.6684, allocations: 0.5618 MB / 0.8728 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009164/0.6693, allocations: 0.9111 MB / 0.8736 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.6694, allocations: 66 kB / 0.8737 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.6697, allocations: 114.3 kB / 0.8738 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.6699, allocations: 315.5 kB / 0.8741 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.6704, allocations: 498.1 kB / 0.8746 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.6715, allocations: 1.18 MB / 0.8757 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6715, allocations: 0 / 0.8757 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6715, allocations: 0 / 0.8757 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.6715, allocations: 0 / 0.8757 GB, free: 15.9 MB / 0.6075 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.002221/0.6738, allocations: 1.482 MB / 0.8772 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.6738, allocations: 10 kB / 0.8772 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.6739, allocations: 85.83 kB / 0.8773 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.6741, allocations: 134.5 kB / 0.8774 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.6749, allocations: 0.6506 MB / 0.8781 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.675, allocations: 78.86 kB / 0.8781 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.6751, allocations: 45.81 kB / 0.8782 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008651/0.676, allocations: 0.5192 MB / 0.8787 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.676, allocations: 3.938 kB / 0.8787 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.6761, allocations: 16.34 kB / 0.8787 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.6761, allocations: 10.78 kB / 0.8787 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.6769, allocations: 418 kB / 0.8791 GB, free: 13.32 MB / 0.6075 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.003724/0.6807, allocations: 2.819 MB / 0.8819 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.6817, allocations: 455.2 kB / 0.8823 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.6823, allocations: 287.3 kB / 0.8826 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.6824, allocations: 4.656 kB / 0.8826 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/0.683, allocations: 309.8 kB / 0.8829 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 5.099e-06/0.683, allocations: 3.984 kB / 0.8829 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003247/0.6862, allocations: 1.238 MB / 0.8841 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.6863, allocations: 59.41 kB / 0.8841 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.6884, allocations: 1.748 MB / 0.8858 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.6885, allocations: 37.7 kB / 0.8859 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.689, allocations: 0.5257 MB / 0.8864 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.6892, allocations: 145.9 kB / 0.8865 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.6894, allocations: 98.23 kB / 0.8866 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6895, allocations: 326 kB / 0.8869 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.69, allocations: 221 kB / 0.8871 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.6906, allocations: 320.9 kB / 0.8875 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/0.6916, allocations: 0.516 MB / 0.888 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.6916, allocations: 0 / 0.888 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001782/0.6934, allocations: 0.8465 MB / 0.8888 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.6934, allocations: 4 kB / 0.8888 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6934, allocations: 7.938 kB / 0.8888 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.694, allocations: 184.9 kB / 0.889 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.6943, allocations: 92.31 kB / 0.8891 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/0.6981, allocations: 2.994 MB / 0.892 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.6986, allocations: 67.5 kB / 0.892 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.6987, allocations: 20 kB / 0.8921 GB, free: 15.46 MB / 0.6231 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.0005816/0.6993, allocations: 387.4 kB / 0.8924 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.6994, allocations: 122.4 kB / 0.8926 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.6997, allocations: 139.7 kB / 0.8927 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6997, allocations: 11.94 kB / 0.8927 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.6997, allocations: 0 / 0.8927 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6997, allocations: 0 / 0.8927 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.7023, allocations: 1.566 MB / 0.8942 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7023, allocations: 4 kB / 0.8942 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.7026, allocations: 47.91 kB / 0.8943 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/0.703, allocations: 196 kB / 0.8945 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.7031, allocations: 12 kB / 0.8945 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.7078, allocations: 4.56 MB / 0.8989 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7078, allocations: 3.938 kB / 0.8989 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.7098, allocations: 1.057 MB / 0.9 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.7101, allocations: 215.5 kB / 0.9002 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.7102, allocations: 15.98 kB / 0.9002 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.7105, allocations: 31.97 kB / 0.9002 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.7107, allocations: 52.16 kB / 0.9003 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.7107, allocations: 19.94 kB / 0.9003 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001461/0.7122, allocations: 1.277 MB / 0.9015 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7122, allocations: 0 / 0.9015 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007935/0.713, allocations: 203.7 kB / 0.9017 GB, free: 5.164 MB / 0.6231 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.004178/0.7172, allocations: 1.994 MB / 0.9037 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7189, allocations: 0.7697 MB / 0.9044 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7189, allocations: 0 / 0.9044 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.7199, allocations: 0.548 MB / 0.905 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.721, allocations: 200.4 kB / 0.9051 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.7345, allocations: 9.125 MB / 0.9141 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/0.7354, allocations: 1.153 MB / 0.9152 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.7357, allocations: 96.77 kB / 0.9153 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.7362, allocations: 403.3 kB / 0.9157 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/0.7362, allocations: 0 / 0.9157 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05978/0.7959, allocations: 20.89 MB / 0.9361 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.612/10.41, allocations: 6.125 kB / 0.9361 GB, free: 2.027 MB / 0.6544 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)