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: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001036, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001081/0.001081, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 288.5 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8766/0.8766, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 95.09 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1416, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.3993/0.541, allocations: 156.7 MB / 0.8347 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.5646, allocations: 21.74 MB / 0.8559 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.5663, allocations: 59.69 kB / 0.8559 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.5681, allocations: 1.161 MB / 0.8571 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.5698, allocations: 0.8524 MB / 0.8579 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.5711, allocations: 437.7 kB / 0.8583 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.5724, allocations: 1.259 MB / 0.8596 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007262/0.5732, allocations: 0.6816 MB / 0.8602 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.5737, allocations: 0.549 MB / 0.8608 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008582/0.5746, allocations: 0.9177 MB / 0.8617 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.141e-05/0.5747, allocations: 68 kB / 0.8617 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.5749, allocations: 112 kB / 0.8618 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.5751, allocations: 316.7 kB / 0.8621 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.5755, allocations: 488.8 kB / 0.8626 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009231/0.5764, allocations: 1.209 MB / 0.8638 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5765, allocations: 0 / 0.8638 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5765, allocations: 0 / 0.8638 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.5765, allocations: 0 / 0.8638 GB, free: 3.863 MB / 0.6231 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.00197/0.5785, allocations: 1.473 MB / 0.8652 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.5785, allocations: 8.031 kB / 0.8652 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.5786, allocations: 135.3 kB / 0.8653 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.5795, allocations: 0.6745 MB / 0.866 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.5796, allocations: 74.69 kB / 0.8661 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.5797, allocations: 48 kB / 0.8661 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.5805, allocations: 0.5223 MB / 0.8666 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5806, allocations: 0 / 0.8666 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.5806, allocations: 23.97 kB / 0.8667 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5806, allocations: 12 kB / 0.8667 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.5814, allocations: 407.7 kB / 0.8671 GB, free: 388 kB / 0.6231 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.003199/0.5846, allocations: 2.788 MB / 0.8698 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.5856, allocations: 452.3 kB / 0.8702 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.5861, allocations: 286.2 kB / 0.8705 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.5862, allocations: 8.328 kB / 0.8705 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005086/0.5867, allocations: 302.7 kB / 0.8708 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 1.813e-06/0.5867, allocations: 0 / 0.8708 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002727/0.5894, allocations: 1.237 MB / 0.872 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5895, allocations: 63.41 kB / 0.872 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.5911, allocations: 1.748 MB / 0.8738 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.5912, allocations: 37.7 kB / 0.8738 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.5916, allocations: 0.5257 MB / 0.8743 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.5917, allocations: 145.9 kB / 0.8744 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.5918, allocations: 94.19 kB / 0.8745 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5919, allocations: 334 kB / 0.8749 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.5924, allocations: 213 kB / 0.8751 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.5929, allocations: 328.9 kB / 0.8754 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.5937, allocations: 0.5097 MB / 0.8759 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5938, allocations: 4 kB / 0.8759 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00147/0.5952, allocations: 0.8377 MB / 0.8767 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5953, allocations: 8 kB / 0.8767 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5953, allocations: 8 kB / 0.8767 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.5958, allocations: 190.8 kB / 0.8769 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.5961, allocations: 91.88 kB / 0.877 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.5994, allocations: 2.995 MB / 0.8799 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.5998, allocations: 75.55 kB / 0.88 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.5998, allocations: 27.94 kB / 0.88 GB, free: 2.539 MB / 0.6387 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.0004397/0.6003, allocations: 383.3 kB / 0.8804 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6004, allocations: 122.4 kB / 0.8805 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.6006, allocations: 139.7 kB / 0.8806 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6006, allocations: 4 kB / 0.8806 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.6006, allocations: 8 kB / 0.8806 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6006, allocations: 3.984 kB / 0.8806 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.603, allocations: 1.56 MB / 0.8821 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.603, allocations: 0 / 0.8821 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.6032, allocations: 47.95 kB / 0.8822 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.6037, allocations: 190.4 kB / 0.8824 GB, free: 24 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.6037, allocations: 11.98 kB / 0.8824 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.6079, allocations: 4.564 MB / 0.8868 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6079, allocations: 0 / 0.8868 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.6096, allocations: 1.055 MB / 0.8879 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.6099, allocations: 215.6 kB / 0.8881 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/0.61, allocations: 12 kB / 0.8881 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.6103, allocations: 31.97 kB / 0.8881 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6105, allocations: 55.86 kB / 0.8882 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.6105, allocations: 15.98 kB / 0.8882 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001242/0.6118, allocations: 1.284 MB / 0.8894 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6118, allocations: 0 / 0.8894 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000725/0.6125, allocations: 199.7 kB / 0.8896 GB, free: 8.27 MB / 0.6544 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.001035/0.6135, allocations: 483.8 kB / 0.8901 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.615, allocations: 0.7264 MB / 0.8908 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.615, allocations: 4.688 kB / 0.8908 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008458/0.6158, allocations: 0.5516 MB / 0.8913 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.6168, allocations: 207.8 kB / 0.8915 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.62, allocations: 2.364 MB / 0.8939 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.6207, allocations: 1.149 MB / 0.895 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.6209, allocations: 96.7 kB / 0.8951 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.6211, allocations: 51.42 kB / 0.8951 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.6211, allocations: 0 / 0.8951 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of Templates: time 0.01784/0.6389, allocations: 10.46 MB / 0.9053 GB, free: 8.438 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (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 & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)