Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 102.8 kB / 16.36 MB, free: 6.305 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.001112/0.001112, allocations: 191.2 kB / 17.29 MB, free: 5.875 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.57/1.57, 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.89/1.89, 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.001425/0.001425, allocations: 75.89 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2558, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.6512/0.907, allocations: 156.7 MB / 0.9378 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02938/0.9365, allocations: 21.55 MB / 0.9589 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.9392, allocations: 47.75 kB / 0.9589 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.9411, allocations: 1.17 MB / 0.9601 GB, free: 6.496 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.001747/0.9428, allocations: 0.8485 MB / 0.9609 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.9441, allocations: 403.5 kB / 0.9613 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.9456, allocations: 1.247 MB / 0.9625 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.9465, allocations: 0.6831 MB / 0.9632 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006819/0.9472, allocations: 0.549 MB / 0.9637 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.9482, allocations: 0.9138 MB / 0.9646 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.9484, allocations: 64 kB / 0.9647 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.9486, allocations: 112 kB / 0.9648 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.9489, allocations: 312.8 kB / 0.9651 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000441/0.9494, allocations: 496.8 kB / 0.9655 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.9506, allocations: 1.195 MB / 0.9667 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9506, allocations: 1.219 kB / 0.9667 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9506, allocations: 0 / 0.9667 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.9506, allocations: 4 kB / 0.9667 GB, free: 15.72 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.002328/0.953, allocations: 1.473 MB / 0.9681 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.953, allocations: 8.031 kB / 0.9682 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.9532, allocations: 135.3 kB / 0.9683 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008642/0.9541, allocations: 0.6667 MB / 0.9689 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.9542, allocations: 70.69 kB / 0.969 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.9543, allocations: 44 kB / 0.969 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.9553, allocations: 0.5214 MB / 0.9696 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.9553, allocations: 4 kB / 0.9696 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.9554, allocations: 16 kB / 0.9696 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.9554, allocations: 12 kB / 0.9696 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.9562, allocations: 408.6 kB / 0.97 GB, free: 12.25 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.003928/0.9602, allocations: 2.715 MB / 0.9726 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.9613, allocations: 452.3 kB / 0.9731 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/0.962, allocations: 296.7 kB / 0.9733 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.9621, allocations: 12.31 kB / 0.9733 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.9627, allocations: 292.4 kB / 0.9736 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 3.015e-06/0.9627, allocations: 0 / 0.9736 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.003001/0.9657, allocations: 1.144 MB / 0.9747 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.9658, allocations: 63.34 kB / 0.9748 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.9682, allocations: 1.754 MB / 0.9765 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.9683, allocations: 41.69 kB / 0.9766 GB, free: 5.176 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.9689, allocations: 0.5248 MB / 0.9771 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.9691, allocations: 146 kB / 0.9772 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.9693, allocations: 94.25 kB / 0.9773 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9694, allocations: 338 kB / 0.9776 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.97, allocations: 205 kB / 0.9778 GB, free: 3.863 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.9705, allocations: 339.2 kB / 0.9781 GB, free: 3.484 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.9715, allocations: 0.5244 MB / 0.9787 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9715, allocations: 0 / 0.9787 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001626/0.9731, allocations: 0.806 MB / 0.9794 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.9732, allocations: 15.97 kB / 0.9795 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9732, allocations: 4 kB / 0.9795 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/0.9736, allocations: 132.7 kB / 0.9796 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.974, allocations: 107.8 kB / 0.9797 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.977, allocations: 2.603 MB / 0.9822 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.9775, allocations: 83.45 kB / 0.9823 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.9776, allocations: 20 kB / 0.9823 GB, free: 15 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.0006652/0.9783, allocations: 379.4 kB / 0.9827 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.9784, allocations: 114.5 kB / 0.9828 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.9787, allocations: 145 kB / 0.9829 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.9787, allocations: 8 kB / 0.9829 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.9787, allocations: 0 / 0.9829 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.9787, allocations: 11.92 kB / 0.983 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.9811, allocations: 1.481 MB / 0.9844 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.9811, allocations: 0 / 0.9844 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.9813, allocations: 47.84 kB / 0.9844 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/0.9817, allocations: 163.7 kB / 0.9846 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.9818, allocations: 15.98 kB / 0.9846 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.9855, allocations: 4.017 MB / 0.9885 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9855, allocations: 64 / 0.9885 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.9873, allocations: 0.9928 MB / 0.9895 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.9876, allocations: 211.6 kB / 0.9897 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.9877, allocations: 12 kB / 0.9897 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.988, allocations: 23.97 kB / 0.9897 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.9882, allocations: 57.8 kB / 0.9898 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.9882, allocations: 19.98 kB / 0.9898 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001412/0.9896, allocations: 1.285 MB / 0.9911 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9896, allocations: 0 / 0.9911 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008001/0.9905, allocations: 199.8 kB / 0.9913 GB, free: 5.461 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.001228/0.9917, allocations: 490.3 kB / 0.9917 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.9931, allocations: 0.6661 MB / 0.9924 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.9932, allocations: 0 / 0.9924 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008344/0.994, allocations: 0.5249 MB / 0.9929 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/0.995, allocations: 213.1 kB / 0.9931 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.9988, allocations: 2.419 MB / 0.9955 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/0.9997, allocations: 1.142 MB / 0.9966 GB, free: 180 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.9998, allocations: 47.42 kB / 0.9966 GB, free: 132 kB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.9998, allocations: 4 kB / 0.9966 GB, free: 128 kB / 0.7794 GB Notification: Performance of Templates: time 0.02587/1.026, allocations: 17.75 MB / 1.014 GB, free: 14.45 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)