Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.005353/0.005353, allocations: 98.2 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.001254/0.001254, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002552/0.002552, allocations: 282.5 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 104.3 kB / 0.6943 GB, free: 3.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4492, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1822/0.6314, allocations: 156.7 MB / 0.9344 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02847/0.6599, allocations: 21.75 MB / 0.9556 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.6621, allocations: 55.69 kB / 0.9557 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.664, allocations: 1.161 MB / 0.9568 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.6657, allocations: 0.8562 MB / 0.9576 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.667, allocations: 438.7 kB / 0.9581 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.6686, allocations: 1.255 MB / 0.9593 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.6697, allocations: 0.6865 MB / 0.96 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008694/0.6706, allocations: 0.5491 MB / 0.9605 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.6718, allocations: 0.9177 MB / 0.9614 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.672, allocations: 64 kB / 0.9614 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.6723, allocations: 116 kB / 0.9616 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.6726, allocations: 316.7 kB / 0.9619 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.6731, allocations: 484.8 kB / 0.9623 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.6746, allocations: 1.215 MB / 0.9635 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6746, allocations: 0 / 0.9635 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6746, allocations: 4 kB / 0.9635 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.954e-05/0.6746, allocations: 0 / 0.9635 GB, free: 4.027 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.002551/0.6772, allocations: 1.528 MB / 0.965 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6772, allocations: 12.03 kB / 0.965 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.6774, allocations: 90.69 kB / 0.9651 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.6776, allocations: 136 kB / 0.9652 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009336/0.6785, allocations: 0.6755 MB / 0.9659 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.6787, allocations: 70.69 kB / 0.966 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/0.6787, allocations: 48 kB / 0.966 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.6798, allocations: 0.5223 MB / 0.9665 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.6798, allocations: 3.938 kB / 0.9665 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.6799, allocations: 16 kB / 0.9665 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6799, allocations: 12 kB / 0.9665 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009013/0.6808, allocations: 407.7 kB / 0.9669 GB, free: 396 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.003803/0.6846, allocations: 2.728 MB / 0.9696 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.6856, allocations: 451.6 kB / 0.97 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/0.6863, allocations: 308.3 kB / 0.9703 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.6864, allocations: 8.328 kB / 0.9703 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.687, allocations: 288 kB / 0.9706 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/0.687, allocations: 0 / 0.9706 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002845/0.6898, allocations: 1.156 MB / 0.9717 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.6899, allocations: 59.41 kB / 0.9718 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.6919, allocations: 1.768 MB / 0.9735 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.692, allocations: 41.64 kB / 0.9736 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/0.6924, allocations: 0.5253 MB / 0.9741 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.6926, allocations: 154.7 kB / 0.9742 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.6928, allocations: 94.25 kB / 0.9743 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6929, allocations: 330 kB / 0.9746 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.6934, allocations: 209 kB / 0.9748 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.694, allocations: 343.1 kB / 0.9751 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/0.695, allocations: 0.5243 MB / 0.9757 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6951, allocations: 0 / 0.9757 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001646/0.6967, allocations: 0.8134 MB / 0.9765 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6967, allocations: 4 kB / 0.9765 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6968, allocations: 7.984 kB / 0.9765 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.6972, allocations: 133 kB / 0.9766 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.6976, allocations: 103.8 kB / 0.9767 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.7007, allocations: 2.605 MB / 0.9792 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.7012, allocations: 83.52 kB / 0.9793 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.7012, allocations: 20 kB / 0.9793 GB, free: 3.105 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.0005188/0.7018, allocations: 391.3 kB / 0.9797 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.7019, allocations: 127.1 kB / 0.9798 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.7021, allocations: 135.7 kB / 0.98 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.7022, allocations: 4 kB / 0.98 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.7022, allocations: 7.984 kB / 0.98 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7022, allocations: 0 / 0.98 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.7046, allocations: 1.487 MB / 0.9814 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.7046, allocations: 4 kB / 0.9814 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.7049, allocations: 47.95 kB / 0.9815 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/0.7053, allocations: 157.6 kB / 0.9816 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.7054, allocations: 23.98 kB / 0.9816 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004039/0.7094, allocations: 4.017 MB / 0.9856 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7094, allocations: 0 / 0.9856 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.7114, allocations: 0.9972 MB / 0.9865 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.7117, allocations: 208.3 kB / 0.9867 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.342e-05/0.7118, allocations: 19.92 kB / 0.9868 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.7121, allocations: 31.97 kB / 0.9868 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.7122, allocations: 59.8 kB / 0.9868 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.7123, allocations: 8 kB / 0.9869 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001458/0.7137, allocations: 1.293 MB / 0.9881 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7137, allocations: 0 / 0.9881 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007156/0.7145, allocations: 203.7 kB / 0.9883 GB, free: 9.516 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.003775/0.7182, allocations: 1.902 MB / 0.9902 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.7197, allocations: 0.6667 MB / 0.9908 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7198, allocations: 7.938 kB / 0.9908 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009459/0.7207, allocations: 0.5323 MB / 0.9913 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.7218, allocations: 199 kB / 0.9915 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.7341, allocations: 8.551 MB / 0.9999 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/0.735, allocations: 1.153 MB / 1.001 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003226/0.7353, allocations: 92.78 kB / 1.001 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.7358, allocations: 403.3 kB / 1.001 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of SimCode: time 4.61e-07/0.7358, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/0.7894, allocations: 20.87 MB / 1.022 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.41, allocations: 15.16 kB / 1.022 GB, free: 7.34 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_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_TestCase3.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)