Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 103.2 kB / 16.29 MB, free: 6.426 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.001124/0.001124, allocations: 188.6 kB / 17.22 MB, free: 5.957 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.172/1.172, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.579/1.579, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001254/0.001254, allocations: 67.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1901, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4367/0.6268, allocations: 156.7 MB / 0.9371 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.6499, allocations: 21.56 MB / 0.9582 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.6517, allocations: 51.69 kB / 0.9582 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.6533, allocations: 1.157 MB / 0.9594 GB, free: 7.004 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.001493/0.6548, allocations: 0.8618 MB / 0.9602 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.6559, allocations: 409 kB / 0.9606 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.6572, allocations: 1.241 MB / 0.9618 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006934/0.6579, allocations: 0.6814 MB / 0.9625 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.6584, allocations: 0.549 MB / 0.963 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000892/0.6593, allocations: 0.9099 MB / 0.9639 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.63e-05/0.6594, allocations: 71.94 kB / 0.964 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.6597, allocations: 104 kB / 0.9641 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.6599, allocations: 324.7 kB / 0.9644 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.6603, allocations: 484.9 kB / 0.9648 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009415/0.6612, allocations: 1.199 MB / 0.966 GB, free: 224 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6613, allocations: 4 kB / 0.966 GB, free: 220 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6613, allocations: 0 / 0.966 GB, free: 220 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.6613, allocations: 0 / 0.966 GB, free: 220 kB / 0.7481 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.001962/0.6632, allocations: 1.473 MB / 0.9674 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6633, allocations: 12.03 kB / 0.9675 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.6635, allocations: 131.3 kB / 0.9676 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/0.6642, allocations: 0.655 MB / 0.9682 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.6643, allocations: 75.44 kB / 0.9683 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.6644, allocations: 48 kB / 0.9683 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.6653, allocations: 0.5145 MB / 0.9688 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.6653, allocations: 7.938 kB / 0.9688 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.6653, allocations: 19.98 kB / 0.9689 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.6654, allocations: 8 kB / 0.9689 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.6661, allocations: 407.7 kB / 0.9693 GB, free: 12.75 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.003051/0.6692, allocations: 2.711 MB / 0.9719 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008494/0.67, allocations: 440.3 kB / 0.9723 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.6706, allocations: 312.7 kB / 0.9726 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.6706, allocations: 11.92 kB / 0.9726 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.6711, allocations: 280.4 kB / 0.9729 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 3.316e-06/0.6711, allocations: 4.188 kB / 0.9729 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.002294/0.6734, allocations: 1.151 MB / 0.974 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.6735, allocations: 63.41 kB / 0.9741 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.6751, allocations: 1.752 MB / 0.9758 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.6752, allocations: 37.7 kB / 0.9758 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.6755, allocations: 0.5249 MB / 0.9764 GB, free: 5.148 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.6756, allocations: 150 kB / 0.9765 GB, free: 5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.6758, allocations: 98.23 kB / 0.9766 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6759, allocations: 323.9 kB / 0.9769 GB, free: 4.574 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.6763, allocations: 217 kB / 0.9771 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.6768, allocations: 343.1 kB / 0.9774 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.6776, allocations: 0.5112 MB / 0.9779 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6776, allocations: 0 / 0.9779 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001344/0.679, allocations: 0.8178 MB / 0.9787 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.679, allocations: 7.938 kB / 0.9787 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.679, allocations: 6 kB / 0.9787 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000368/0.6794, allocations: 134.1 kB / 0.9789 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.6797, allocations: 103.9 kB / 0.979 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/0.6823, allocations: 2.6 MB / 0.9815 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.6827, allocations: 79.45 kB / 0.9816 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.6827, allocations: 20 kB / 0.9816 GB, free: 15.52 MB / 0.7794 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,$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 (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.0003883/0.6831, allocations: 383.3 kB / 0.982 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6832, allocations: 118.5 kB / 0.9821 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.6834, allocations: 154.1 kB / 0.9822 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6834, allocations: 4 kB / 0.9822 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6834, allocations: 4 kB / 0.9822 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6834, allocations: 0 / 0.9822 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.6855, allocations: 1.488 MB / 0.9837 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6855, allocations: 1.781 kB / 0.9837 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.6857, allocations: 47.95 kB / 0.9837 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.686, allocations: 159.2 kB / 0.9839 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.6861, allocations: 15.98 kB / 0.9839 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.6894, allocations: 4.027 MB / 0.9878 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6894, allocations: 3.938 kB / 0.9878 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.6909, allocations: 0.9803 MB / 0.9888 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.6912, allocations: 215.6 kB / 0.989 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/0.6912, allocations: 15.98 kB / 0.989 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.6915, allocations: 31.97 kB / 0.9891 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6916, allocations: 51.86 kB / 0.9891 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.6917, allocations: 16 kB / 0.9891 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001171/0.6929, allocations: 1.285 MB / 0.9904 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6929, allocations: 0 / 0.9904 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005828/0.6935, allocations: 199.7 kB / 0.9906 GB, free: 5.957 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,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.001037/0.6945, allocations: 488.8 kB / 0.991 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.6957, allocations: 0.6641 MB / 0.9917 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6957, allocations: 4.25 kB / 0.9917 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.6964, allocations: 0.5205 MB / 0.9922 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.6972, allocations: 197.5 kB / 0.9924 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.7001, allocations: 2.357 MB / 0.9947 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.7008, allocations: 1.153 MB / 0.9958 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.701, allocations: 97.25 kB / 0.9959 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.7011, allocations: 43.42 kB / 0.9959 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7011, allocations: 0 / 0.9959 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of Templates: time 0.01593/0.717, allocations: 10.03 MB / 1.006 GB, free: 6.777 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)