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.004754/0.004754, allocations: 97.92 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 197.5 kB / 16.67 MB, free: 5.922 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 291 kB / 290.8 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 91.84 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4357, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1782/0.6139, allocations: 156.7 MB / 0.9344 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02477/0.6387, allocations: 21.75 MB / 0.9556 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.6402, allocations: 55.69 kB / 0.9557 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.6418, allocations: 1.161 MB / 0.9568 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.6431, allocations: 0.8562 MB / 0.9576 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000966/0.6441, allocations: 441.8 kB / 0.9581 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.6454, allocations: 1.255 MB / 0.9593 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/0.6462, allocations: 0.6865 MB / 0.96 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.6468, allocations: 0.5491 MB / 0.9605 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.6478, allocations: 0.9177 MB / 0.9614 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.648, allocations: 68 kB / 0.9614 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.6482, allocations: 112 kB / 0.9616 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.6485, allocations: 316.7 kB / 0.9619 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.6489, allocations: 488.8 kB / 0.9623 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.6502, allocations: 1.207 MB / 0.9635 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6502, allocations: 0 / 0.9635 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6502, allocations: 0 / 0.9635 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.6502, allocations: 0 / 0.9635 GB, free: 4.07 MB / 0.7169 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.002251/0.6525, allocations: 1.536 MB / 0.965 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6525, allocations: 15.97 kB / 0.965 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.6526, allocations: 82.7 kB / 0.9651 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.6528, allocations: 144 kB / 0.9652 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/0.6536, allocations: 0.6715 MB / 0.9659 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.6538, allocations: 70.69 kB / 0.966 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.6539, allocations: 48 kB / 0.966 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.6548, allocations: 0.5145 MB / 0.9665 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.6549, allocations: 3.984 kB / 0.9665 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.6549, allocations: 16 kB / 0.9665 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.6549, allocations: 12 kB / 0.9665 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.6558, allocations: 419.7 kB / 0.9669 GB, free: 428 kB / 0.7169 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.003622/0.6595, allocations: 2.724 MB / 0.9696 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.6605, allocations: 445.1 kB / 0.97 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.6612, allocations: 316.8 kB / 0.9703 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.6613, allocations: 4.328 kB / 0.9703 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.6618, allocations: 275.8 kB / 0.9706 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.404e-06/0.6618, allocations: 0 / 0.9706 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002791/0.6646, allocations: 1.16 MB / 0.9717 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.6647, allocations: 55.41 kB / 0.9718 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.6667, allocations: 1.768 MB / 0.9735 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.6667, allocations: 37.7 kB / 0.9735 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.6672, allocations: 0.537 MB / 0.9741 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.6674, allocations: 150.7 kB / 0.9742 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.6675, allocations: 102.2 kB / 0.9743 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6677, allocations: 322 kB / 0.9746 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.6682, allocations: 213 kB / 0.9748 GB, free: 8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.6688, allocations: 343.1 kB / 0.9751 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009794/0.6698, allocations: 0.5202 MB / 0.9756 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6698, allocations: 0 / 0.9756 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001607/0.6714, allocations: 0.8135 MB / 0.9764 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6714, allocations: 4 kB / 0.9764 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6714, allocations: 7.938 kB / 0.9765 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.6719, allocations: 138.5 kB / 0.9766 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.6723, allocations: 95.88 kB / 0.9767 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.6753, allocations: 2.604 MB / 0.9792 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.6757, allocations: 79.64 kB / 0.9793 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.6758, allocations: 24 kB / 0.9793 GB, free: 3.148 MB / 0.7325 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.0004636/0.6762, allocations: 387.2 kB / 0.9797 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.6764, allocations: 131.1 kB / 0.9798 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.6766, allocations: 143.7 kB / 0.98 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.6766, allocations: 4 kB / 0.98 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6766, allocations: 4 kB / 0.98 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.6766, allocations: 0 / 0.98 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.679, allocations: 1.498 MB / 0.9814 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6791, allocations: 0 / 0.9814 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.6793, allocations: 39.97 kB / 0.9815 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004071/0.6797, allocations: 161.6 kB / 0.9816 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.6798, allocations: 15.94 kB / 0.9816 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/0.6838, allocations: 4.026 MB / 0.9856 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6838, allocations: 0 / 0.9856 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.6856, allocations: 0.9932 MB / 0.9865 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.6859, allocations: 212.3 kB / 0.9867 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.686, allocations: 12 kB / 0.9867 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.6863, allocations: 39.91 kB / 0.9868 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6865, allocations: 55.86 kB / 0.9868 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.6865, allocations: 15.98 kB / 0.9869 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001453/0.688, allocations: 1.289 MB / 0.9881 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.688, allocations: 0 / 0.9881 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006585/0.6886, allocations: 203.7 kB / 0.9883 GB, free: 9.547 MB / 0.7481 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.003768/0.6924, allocations: 1.907 MB / 0.9902 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.6938, allocations: 0.6683 MB / 0.9908 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6939, allocations: 4 kB / 0.9908 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.6947, allocations: 0.5287 MB / 0.9913 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/0.6957, allocations: 207.2 kB / 0.9915 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.7079, allocations: 8.54 MB / 0.9999 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/0.7088, allocations: 1.149 MB / 1.001 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002747/0.7091, allocations: 108.7 kB / 1.001 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.7096, allocations: 407.3 kB / 1.001 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/0.7096, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05267/0.7623, allocations: 20.88 MB / 1.022 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.32, allocations: 0 / 1.022 GB, free: 7.379 MB / 0.7794 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)