Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.007932/0.007932, allocations: 98.27 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.002169/0.002169, 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.441/1.441, 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.002502/0.002502, allocations: 287 kB / 290.8 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 95.84 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1557, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4589/0.6147, allocations: 156.7 MB / 0.9189 GB, free: 6.465 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.6408, allocations: 21.76 MB / 0.9402 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.6425, allocations: 55.69 kB / 0.9402 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.6442, allocations: 1.157 MB / 0.9414 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.6456, allocations: 0.8561 MB / 0.9422 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.6467, allocations: 455.4 kB / 0.9426 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.6481, allocations: 1.255 MB / 0.9439 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008131/0.6489, allocations: 0.684 MB / 0.9445 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006555/0.6496, allocations: 0.5452 MB / 0.9451 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.6506, allocations: 0.9138 MB / 0.946 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.6508, allocations: 68 kB / 0.946 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.651, allocations: 112 kB / 0.9461 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.6513, allocations: 312.7 kB / 0.9464 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.6518, allocations: 0.489 MB / 0.9469 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.6531, allocations: 1.207 MB / 0.9481 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6531, allocations: 0 / 0.9481 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6531, allocations: 0 / 0.9481 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.6531, allocations: 0 / 0.9481 GB, free: 8.551 MB / 0.7012 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.00228/0.6554, allocations: 1.525 MB / 0.9496 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.6554, allocations: 12.03 kB / 0.9496 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.6556, allocations: 82.7 kB / 0.9497 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.6557, allocations: 144 kB / 0.9498 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.6566, allocations: 0.6678 MB / 0.9505 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.6568, allocations: 74.69 kB / 0.9505 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.6569, allocations: 48 kB / 0.9506 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009791/0.6578, allocations: 0.5223 MB / 0.9511 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.6579, allocations: 0 / 0.9511 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.6579, allocations: 16 kB / 0.9511 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.6579, allocations: 15.92 kB / 0.9511 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.6588, allocations: 419.7 kB / 0.9515 GB, free: 4.906 MB / 0.7012 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.003685/0.6625, allocations: 2.792 MB / 0.9542 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.6636, allocations: 453.9 kB / 0.9547 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.6642, allocations: 292.6 kB / 0.955 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.6642, allocations: 4.328 kB / 0.955 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005786/0.6648, allocations: 294.8 kB / 0.9552 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.6648, allocations: 0 / 0.9552 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.003074/0.6679, allocations: 1.253 MB / 0.9565 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.668, allocations: 55.41 kB / 0.9565 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.6699, allocations: 1.755 MB / 0.9582 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.67, allocations: 37.69 kB / 0.9583 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.6705, allocations: 0.5261 MB / 0.9588 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.6706, allocations: 150.8 kB / 0.9589 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.6708, allocations: 98.25 kB / 0.959 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6709, allocations: 326 kB / 0.9593 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.6714, allocations: 213 kB / 0.9595 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.672, allocations: 332.8 kB / 0.9598 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/0.673, allocations: 0.511 MB / 0.9603 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.673, allocations: 0 / 0.9603 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001725/0.6747, allocations: 0.8507 MB / 0.9612 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6748, allocations: 8 kB / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6748, allocations: 0 / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.6754, allocations: 192.8 kB / 0.9614 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.6757, allocations: 92.25 kB / 0.9615 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.6795, allocations: 3.003 MB / 0.9644 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.68, allocations: 79.69 kB / 0.9645 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.6801, allocations: 20 kB / 0.9645 GB, free: 7.043 MB / 0.7169 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.0005124/0.6806, allocations: 387.2 kB / 0.9649 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.6807, allocations: 123.1 kB / 0.965 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.681, allocations: 143.7 kB / 0.9651 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.681, allocations: 4 kB / 0.9651 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.681, allocations: 4 kB / 0.9651 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.681, allocations: 7.984 kB / 0.9651 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.6836, allocations: 1.56 MB / 0.9666 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6837, allocations: 0 / 0.9666 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.6839, allocations: 51.89 kB / 0.9667 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.6844, allocations: 198.2 kB / 0.9669 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.6845, allocations: 11.98 kB / 0.9669 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/0.6892, allocations: 4.556 MB / 0.9713 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6893, allocations: 0 / 0.9713 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.6913, allocations: 1.063 MB / 0.9724 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.6916, allocations: 228.2 kB / 0.9726 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.6917, allocations: 16 kB / 0.9726 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.692, allocations: 27.97 kB / 0.9726 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.6921, allocations: 55.92 kB / 0.9727 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.6922, allocations: 12 kB / 0.9727 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001466/0.6936, allocations: 1.281 MB / 0.974 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.6937, allocations: 3.938 kB / 0.974 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007489/0.6944, allocations: 203.8 kB / 0.9742 GB, free: 12.74 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_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.003892/0.6983, allocations: 1.991 MB / 0.9761 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.7, allocations: 0.7228 MB / 0.9768 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7, allocations: 0 / 0.9768 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009659/0.7009, allocations: 0.548 MB / 0.9773 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.702, allocations: 204.4 kB / 0.9775 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.715, allocations: 8.611 MB / 0.9859 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/0.7159, allocations: 1.149 MB / 0.9871 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003136/0.7162, allocations: 96.77 kB / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.7167, allocations: 407.2 kB / 0.9875 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/0.7167, allocations: 0 / 0.9875 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05758/0.7743, allocations: 21.27 MB / 1.008 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.44, allocations: 11.47 kB / 1.008 GB, free: 9.98 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_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_TestCase4.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)