Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_Buildings_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.001051/0.001051, allocations: 108 kB / 15.6 MB, free: 132 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.001046/0.001046, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 222.4 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 74.14 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.188, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5118/0.6998, allocations: 156.7 MB / 0.9365 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.7235, allocations: 21.57 MB / 0.9576 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.7258, allocations: 50.34 kB / 0.9576 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.7272, allocations: 1.156 MB / 0.9588 GB, free: 4.332 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001326/0.7286, allocations: 0.8607 MB / 0.9596 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009276/0.7295, allocations: 407.9 kB / 0.96 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.7305, allocations: 1.244 MB / 0.9612 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.7312, allocations: 0.6778 MB / 0.9619 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006135/0.7319, allocations: 0.5516 MB / 0.9624 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008987/0.7328, allocations: 0.9127 MB / 0.9633 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.7329, allocations: 66.12 kB / 0.9634 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.7331, allocations: 110.9 kB / 0.9635 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.7334, allocations: 315.3 kB / 0.9638 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.7337, allocations: 491.6 kB / 0.9642 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.7346, allocations: 1.179 MB / 0.9654 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7346, allocations: 0.625 kB / 0.9654 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7346, allocations: 1.312 kB / 0.9654 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.7347, allocations: 0 / 0.9654 GB, free: 3.688 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002169/0.7368, allocations: 1.473 MB / 0.9668 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.7369, allocations: 9.469 kB / 0.9668 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.737, allocations: 81.89 kB / 0.9669 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.7372, allocations: 137.4 kB / 0.967 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.738, allocations: 0.6563 MB / 0.9677 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.7381, allocations: 72.36 kB / 0.9677 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.7382, allocations: 47.72 kB / 0.9678 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/0.7391, allocations: 0.5199 MB / 0.9683 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.7391, allocations: 1.719 kB / 0.9683 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.7392, allocations: 17.16 kB / 0.9683 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.7392, allocations: 10.19 kB / 0.9683 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.7399, allocations: 409.2 kB / 0.9687 GB, free: 18.18 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.003094/0.743, allocations: 2.804 MB / 0.9715 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008995/0.7439, allocations: 463.2 kB / 0.9719 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.7445, allocations: 288.8 kB / 0.9722 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.7445, allocations: 4.125 kB / 0.9722 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004983/0.745, allocations: 310.4 kB / 0.9725 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.745, allocations: 3.938 kB / 0.9725 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002656/0.7477, allocations: 1.234 MB / 0.9737 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.7477, allocations: 55.81 kB / 0.9737 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.7492, allocations: 1.753 MB / 0.9755 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.7493, allocations: 41.2 kB / 0.9755 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.7496, allocations: 0.5126 MB / 0.976 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.7497, allocations: 150 kB / 0.9761 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.7499, allocations: 100.7 kB / 0.9762 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.7499, allocations: 325 kB / 0.9765 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.7504, allocations: 219.7 kB / 0.9767 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.7508, allocations: 326.2 kB / 0.9771 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.7516, allocations: 0.5116 MB / 0.9776 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7517, allocations: 0 / 0.9776 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001473/0.7531, allocations: 0.8546 MB / 0.9784 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.7532, allocations: 8.812 kB / 0.9784 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7532, allocations: 6.438 kB / 0.9784 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.7536, allocations: 183.9 kB / 0.9786 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.754, allocations: 93.55 kB / 0.9787 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.7571, allocations: 2.994 MB / 0.9816 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.7576, allocations: 82.77 kB / 0.9817 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.7576, allocations: 19.44 kB / 0.9817 GB, free: 10.77 MB / 0.7325 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,$PRE.mean.y,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.0004836/0.7581, allocations: 385 kB / 0.9821 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.7582, allocations: 115 kB / 0.9822 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.7584, allocations: 144.2 kB / 0.9823 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7584, allocations: 9.344 kB / 0.9823 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7585, allocations: 2.812 kB / 0.9823 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7585, allocations: 3.234 kB / 0.9823 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.7606, allocations: 1.56 MB / 0.9838 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.7606, allocations: 4.547 kB / 0.9839 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.7608, allocations: 43.33 kB / 0.9839 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.7613, allocations: 198 kB / 0.9841 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.7613, allocations: 14.55 kB / 0.9841 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.7651, allocations: 4.557 MB / 0.9885 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7651, allocations: 0 / 0.9885 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.7668, allocations: 1.061 MB / 0.9896 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.767, allocations: 219.7 kB / 0.9898 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.7671, allocations: 12.34 kB / 0.9898 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.7674, allocations: 25.22 kB / 0.9898 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.7675, allocations: 59.86 kB / 0.9899 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.7676, allocations: 15.16 kB / 0.9899 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001209/0.7688, allocations: 1.28 MB / 0.9911 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7688, allocations: 4 kB / 0.9912 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007317/0.7695, allocations: 203 kB / 0.9913 GB, free: 3.977 MB / 0.7325 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) * 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.00282/0.7724, allocations: 1.972 MB / 0.9933 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.7739, allocations: 0.757 MB / 0.994 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7739, allocations: 0 / 0.994 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.7747, allocations: 0.5484 MB / 0.9945 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.7757, allocations: 195.7 kB / 0.9947 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.7881, allocations: 9.125 MB / 1.004 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/0.789, allocations: 1.157 MB / 1.005 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003425/0.7894, allocations: 86.53 kB / 1.005 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.7898, allocations: 406.1 kB / 1.005 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.7898, allocations: 0 / 1.005 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.832, allocations: 20.83 MB / 1.026 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/10.11, allocations: 23.14 kB / 1.026 GB, free: 10.16 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)