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.005588/0.005588, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.00153/0.00153, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002504, allocations: 282 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.224/1.224, allocations: 178.5 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 99.78 kB / 0.6943 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3876, allocations: 89.13 MB / 0.7813 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1777/0.5653, allocations: 156.7 MB / 0.9344 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.5932, allocations: 21.75 MB / 0.9556 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.5953, allocations: 55.69 kB / 0.9557 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.5972, allocations: 1.153 MB / 0.9568 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.5989, allocations: 0.8601 MB / 0.9576 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.6002, allocations: 437.2 kB / 0.9581 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.6018, allocations: 1.263 MB / 0.9593 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009482/0.6028, allocations: 0.6792 MB / 0.96 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008029/0.6036, allocations: 0.549 MB / 0.9605 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.6048, allocations: 0.9216 MB / 0.9614 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.605, allocations: 64 kB / 0.9614 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.6052, allocations: 108 kB / 0.9616 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.6056, allocations: 320.7 kB / 0.9619 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004871/0.6061, allocations: 488.8 kB / 0.9623 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.6075, allocations: 1.212 MB / 0.9635 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6075, allocations: 0 / 0.9635 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6076, allocations: 0 / 0.9635 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.6076, allocations: 0 / 0.9635 GB, free: 13.48 MB / 0.7325 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.002419/0.61, allocations: 1.532 MB / 0.965 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.61, allocations: 8.031 kB / 0.965 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.6102, allocations: 86.7 kB / 0.9651 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.6104, allocations: 144 kB / 0.9652 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.6113, allocations: 0.6715 MB / 0.9659 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.6114, allocations: 78.67 kB / 0.966 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.6115, allocations: 40 kB / 0.966 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.6125, allocations: 0.5223 MB / 0.9665 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.6126, allocations: 0 / 0.9665 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.6126, allocations: 27.94 kB / 0.9665 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.6126, allocations: 8 kB / 0.9665 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.6135, allocations: 407.7 kB / 0.9669 GB, free: 9.832 MB / 0.7325 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.003837/0.6174, allocations: 2.8 MB / 0.9697 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.6185, allocations: 465.3 kB / 0.9701 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.6191, allocations: 284.7 kB / 0.9704 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.6192, allocations: 4.328 kB / 0.9704 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006078/0.6198, allocations: 314.4 kB / 0.9707 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.6198, allocations: 0 / 0.9707 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.003141/0.6229, allocations: 1.243 MB / 0.9719 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.623, allocations: 63.39 kB / 0.972 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.625, allocations: 1.752 MB / 0.9737 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.6251, allocations: 37.7 kB / 0.9737 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004752/0.6255, allocations: 0.53 MB / 0.9742 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.6257, allocations: 146.8 kB / 0.9744 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.6259, allocations: 94.25 kB / 0.9745 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.626, allocations: 329.9 kB / 0.9748 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.6265, allocations: 221 kB / 0.975 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.6271, allocations: 320.9 kB / 0.9753 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/0.6281, allocations: 0.518 MB / 0.9758 GB, free: 336 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6282, allocations: 7.938 kB / 0.9758 GB, free: 328 kB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001776/0.6299, allocations: 0.8419 MB / 0.9766 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.63, allocations: 6.812 kB / 0.9766 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.63, allocations: 4 kB / 0.9766 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.6305, allocations: 188.8 kB / 0.9768 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.6309, allocations: 91.88 kB / 0.9769 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.6347, allocations: 3.006 MB / 0.9798 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.6352, allocations: 75.69 kB / 0.9799 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.6353, allocations: 20 kB / 0.9799 GB, free: 11.94 MB / 0.7481 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.0005454/0.6358, allocations: 384.4 kB / 0.9803 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.636, allocations: 123.2 kB / 0.9804 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.6362, allocations: 139.7 kB / 0.9805 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.6362, allocations: 8 kB / 0.9806 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.6362, allocations: 3.938 kB / 0.9806 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.6362, allocations: 7.984 kB / 0.9806 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.6389, allocations: 1.563 MB / 0.9821 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6389, allocations: 0 / 0.9821 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.6391, allocations: 43.91 kB / 0.9821 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/0.6396, allocations: 189.6 kB / 0.9823 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.6397, allocations: 19.98 kB / 0.9823 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.6446, allocations: 4.557 MB / 0.9868 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6446, allocations: 0 / 0.9868 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.6467, allocations: 1.067 MB / 0.9878 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.647, allocations: 224.2 kB / 0.988 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6471, allocations: 12 kB / 0.988 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.6475, allocations: 31.97 kB / 0.9881 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.6476, allocations: 51.92 kB / 0.9881 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.6477, allocations: 15.98 kB / 0.9881 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001482/0.6492, allocations: 1.277 MB / 0.9894 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6492, allocations: 7.938 kB / 0.9894 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007646/0.6499, allocations: 195.8 kB / 0.9896 GB, free: 1.656 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,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.3119/0.9619, allocations: 1.981 MB / 0.9915 GB, free: 202.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.9637, allocations: 0.72 MB / 0.9922 GB, free: 202.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9637, allocations: 1.125 kB / 0.9922 GB, free: 202.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008607/0.9646, allocations: 0.5492 MB / 0.9928 GB, free: 202.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.9656, allocations: 199.4 kB / 0.993 GB, free: 202.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.9787, allocations: 8.618 MB / 1.001 GB, free: 199 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/0.9795, allocations: 1.153 MB / 1.002 GB, free: 198.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003592/0.9799, allocations: 89.17 kB / 1.003 GB, free: 198.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.9803, allocations: 406 kB / 1.003 GB, free: 197.9 MB / 0.7481 GB Notification: Performance of SimCode: time 9.82e-07/0.9803, allocations: 3.938 kB / 1.003 GB, free: 197.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05455/1.035, allocations: 21.26 MB / 1.024 GB, free: 186.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.59, allocations: 9.266 kB / 1.024 GB, free: 186.6 MB / 0.7481 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)