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.001887/0.001887, allocations: 106.7 kB / 16.27 MB, free: 5.984 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.002555/0.002555, allocations: 189 kB / 17.2 MB, free: 5.609 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.638/1.638, allocations: 205.1 MB / 223.1 MB, free: 12.29 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 2.12/2.12, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001612/0.001612, allocations: 75.02 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2947, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.6615/0.9562, allocations: 156.7 MB / 0.9371 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0278/0.9841, allocations: 21.56 MB / 0.9581 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.9866, allocations: 51.69 kB / 0.9582 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.9884, allocations: 1.165 MB / 0.9593 GB, free: 7.016 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.001599/0.99, allocations: 0.8599 MB / 0.9602 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.9912, allocations: 401.9 kB / 0.9605 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.9926, allocations: 1.247 MB / 0.9618 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008272/0.9935, allocations: 0.6755 MB / 0.9624 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006902/0.9942, allocations: 0.5452 MB / 0.9629 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.9952, allocations: 0.9099 MB / 0.9638 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.9953, allocations: 64 kB / 0.9639 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.9956, allocations: 112 kB / 0.964 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.9959, allocations: 320.6 kB / 0.9643 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.9963, allocations: 488.9 kB / 0.9648 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.9975, allocations: 1.179 MB / 0.9659 GB, free: 268 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9975, allocations: 3.938 kB / 0.9659 GB, free: 264 kB / 0.7481 GB Notification: Performance of FrontEnd: time 3.317e-06/0.9975, allocations: 0 / 0.9659 GB, free: 264 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.9975, allocations: 3.938 kB / 0.9659 GB, free: 260 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.002299/0.9998, allocations: 1.466 MB / 0.9674 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.9999, allocations: 8.031 kB / 0.9674 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/1, allocations: 131.3 kB / 0.9675 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/1.001, allocations: 0.6667 MB / 0.9681 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.001, allocations: 67.91 kB / 0.9682 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/1.001, allocations: 48 kB / 0.9683 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/1.002, allocations: 0.5222 MB / 0.9688 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.002, allocations: 0 / 0.9688 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/1.002, allocations: 20 kB / 0.9688 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/1.002, allocations: 15.98 kB / 0.9688 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/1.003, allocations: 411.7 kB / 0.9692 GB, free: 12.79 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.003605/1.007, allocations: 2.72 MB / 0.9719 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/1.008, allocations: 442.9 kB / 0.9723 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/1.008, allocations: 308.7 kB / 0.9726 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/1.008, allocations: 7.938 kB / 0.9726 GB, free: 9.086 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/1.009, allocations: 292.7 kB / 0.9729 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 2.895e-06/1.009, allocations: 1.688 kB / 0.9729 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.002677/1.012, allocations: 1.155 MB / 0.974 GB, free: 7.582 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.012, allocations: 55.41 kB / 0.974 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.013, allocations: 1.752 MB / 0.9758 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/1.013, allocations: 33.7 kB / 0.9758 GB, free: 5.715 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/1.014, allocations: 0.5288 MB / 0.9763 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.014, allocations: 150 kB / 0.9764 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.014, allocations: 98.25 kB / 0.9765 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.014, allocations: 334 kB / 0.9769 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/1.015, allocations: 208.9 kB / 0.9771 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/1.015, allocations: 340.2 kB / 0.9774 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/1.016, allocations: 0.5151 MB / 0.9779 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.016, allocations: 4 kB / 0.9779 GB, free: 3.445 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001504/1.018, allocations: 0.8116 MB / 0.9787 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.018, allocations: 11.94 kB / 0.9787 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.018, allocations: 4 kB / 0.9787 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/1.018, allocations: 136.9 kB / 0.9788 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.019, allocations: 103.8 kB / 0.9789 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/1.021, allocations: 2.598 MB / 0.9815 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/1.022, allocations: 86.83 kB / 0.9815 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/1.022, allocations: 23.98 kB / 0.9816 GB, free: 15.54 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.0005772/1.023, allocations: 383.3 kB / 0.9819 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/1.023, allocations: 114.5 kB / 0.982 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/1.023, allocations: 143.6 kB / 0.9822 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.023, allocations: 11.94 kB / 0.9822 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.023, allocations: 0 / 0.9822 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.023, allocations: 7.984 kB / 0.9822 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/1.025, allocations: 1.488 MB / 0.9836 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.025, allocations: 0 / 0.9836 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/1.026, allocations: 43.91 kB / 0.9837 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/1.026, allocations: 169.6 kB / 0.9839 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.026, allocations: 8 kB / 0.9839 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/1.03, allocations: 4.03 MB / 0.9878 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.03, allocations: 0 / 0.9878 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.032, allocations: 0.991 MB / 0.9888 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/1.032, allocations: 207.6 kB / 0.989 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/1.032, allocations: 12 kB / 0.989 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/1.033, allocations: 28.72 kB / 0.989 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.033, allocations: 55.92 kB / 0.9891 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/1.033, allocations: 18.61 kB / 0.9891 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001438/1.034, allocations: 1.285 MB / 0.9903 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/1.034, allocations: 0 / 0.9903 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007967/1.035, allocations: 199.6 kB / 0.9905 GB, free: 5.98 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.001216/1.036, allocations: 492.6 kB / 0.991 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00157/1.038, allocations: 0.6855 MB / 0.9917 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.038, allocations: 0.875 kB / 0.9917 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008356/1.039, allocations: 0.5284 MB / 0.9922 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/1.04, allocations: 204.3 kB / 0.9924 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/1.043, allocations: 2.425 MB / 0.9947 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/1.044, allocations: 1.142 MB / 0.9958 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.044, allocations: 47.42 kB / 0.9959 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of SimCode: time 4.2e-07/1.044, allocations: 0 / 0.9959 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of Templates: time 0.02525/1.07, allocations: 17.77 MB / 1.013 GB, free: 14.94 MB / 0.8106 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 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)