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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00103/0.001035, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001032/0.001032, allocations: 192.4 kB / 17.29 MB, free: 5.516 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.244/1.244, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001435/0.001435, allocations: 74.25 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1788, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4343/0.6132, allocations: 156.7 MB / 0.9378 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02106/0.6342, allocations: 21.57 MB / 0.9589 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.6356, allocations: 47.75 kB / 0.9589 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.6371, allocations: 1.161 MB / 0.9601 GB, free: 6.543 MB / 0.7481 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.001151/0.6383, allocations: 0.8446 MB / 0.9609 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008502/0.6391, allocations: 408.1 kB / 0.9613 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.6402, allocations: 1.247 MB / 0.9625 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.6409, allocations: 0.6734 MB / 0.9632 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005369/0.6414, allocations: 0.5529 MB / 0.9637 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009187/0.6424, allocations: 0.9138 MB / 0.9646 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.6425, allocations: 68 kB / 0.9647 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.6427, allocations: 108 kB / 0.9648 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.6429, allocations: 312.8 kB / 0.9651 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.6433, allocations: 0.489 MB / 0.9655 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009341/0.6443, allocations: 1.2 MB / 0.9667 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6443, allocations: 4 kB / 0.9667 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6443, allocations: 0 / 0.9667 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6443, allocations: 0 / 0.9667 GB, free: 15.76 MB / 0.7637 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.002044/0.6464, allocations: 1.47 MB / 0.9681 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.6464, allocations: 12.03 kB / 0.9682 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.6466, allocations: 131.3 kB / 0.9683 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.6474, allocations: 0.655 MB / 0.9689 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.6475, allocations: 70.69 kB / 0.969 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.6476, allocations: 51.98 kB / 0.969 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.6485, allocations: 0.5145 MB / 0.9695 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.6485, allocations: 5.781 kB / 0.9695 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.6486, allocations: 20 kB / 0.9696 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.6486, allocations: 8 kB / 0.9696 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/0.6494, allocations: 415.7 kB / 0.97 GB, free: 12.3 MB / 0.7637 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.00329/0.6527, allocations: 2.79 MB / 0.9727 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.6537, allocations: 457.7 kB / 0.9731 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.6542, allocations: 287.4 kB / 0.9734 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.6543, allocations: 4 kB / 0.9734 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/0.6548, allocations: 297.9 kB / 0.9737 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 1.963e-06/0.6548, allocations: 0 / 0.9737 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002797/0.6576, allocations: 1.246 MB / 0.9749 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.6577, allocations: 55.41 kB / 0.975 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.6593, allocations: 1.748 MB / 0.9767 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.6594, allocations: 37.69 kB / 0.9767 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.6598, allocations: 0.5133 MB / 0.9772 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6599, allocations: 153.9 kB / 0.9773 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.6601, allocations: 98.25 kB / 0.9774 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.6602, allocations: 330 kB / 0.9778 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.6606, allocations: 216.2 kB / 0.978 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.6612, allocations: 326.9 kB / 0.9783 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.6621, allocations: 0.5136 MB / 0.9788 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6621, allocations: 0 / 0.9788 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001562/0.6637, allocations: 0.8585 MB / 0.9796 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6637, allocations: 4 kB / 0.9796 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6637, allocations: 4 kB / 0.9796 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/0.6642, allocations: 185.6 kB / 0.9798 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.6646, allocations: 91.81 kB / 0.9799 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.6679, allocations: 2.999 MB / 0.9828 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.6684, allocations: 67.5 kB / 0.9829 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6684, allocations: 23.98 kB / 0.9829 GB, free: 14.46 MB / 0.7794 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.0004411/0.6689, allocations: 383.4 kB / 0.9833 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.669, allocations: 122.4 kB / 0.9834 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.6692, allocations: 135.6 kB / 0.9835 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.6692, allocations: 8 kB / 0.9835 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.6692, allocations: 0 / 0.9835 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6692, allocations: 3.984 kB / 0.9835 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.6716, allocations: 1.57 MB / 0.9851 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6716, allocations: 1 kB / 0.9851 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.6718, allocations: 43.97 kB / 0.9851 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.6723, allocations: 194.5 kB / 0.9853 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.6724, allocations: 12 kB / 0.9853 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/0.6765, allocations: 4.558 MB / 0.9897 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6765, allocations: 0 / 0.9897 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.6782, allocations: 1.066 MB / 0.9908 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.6785, allocations: 211.6 kB / 0.991 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.6786, allocations: 15.98 kB / 0.991 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.6789, allocations: 27.97 kB / 0.991 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6791, allocations: 47.92 kB / 0.9911 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.6791, allocations: 21.69 kB / 0.9911 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001242/0.6804, allocations: 1.277 MB / 0.9923 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6804, allocations: 0 / 0.9923 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007001/0.6811, allocations: 199.7 kB / 0.9925 GB, free: 4.207 MB / 0.7794 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.001091/0.6822, allocations: 490.8 kB / 0.993 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.6836, allocations: 0.715 MB / 0.9937 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6836, allocations: 0 / 0.9937 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.6844, allocations: 0.5493 MB / 0.9942 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009092/0.6854, allocations: 202.6 kB / 0.9944 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.6885, allocations: 2.371 MB / 0.9968 GB, free: 96 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.6892, allocations: 1.153 MB / 0.9979 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002443/0.6895, allocations: 86.61 kB / 0.998 GB, free: 14.83 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6896, allocations: 47.36 kB / 0.998 GB, free: 14.78 MB / 0.795 GB Notification: Performance of SimCode: time 3.8e-07/0.6896, allocations: 0 / 0.998 GB, free: 14.78 MB / 0.795 GB Notification: Performance of Templates: time 0.01744/0.7071, allocations: 10.45 MB / 1.008 GB, free: 4.516 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (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 & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)