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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.115/1.115, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.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.456/1.456, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001265/0.001265, allocations: 65.97 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.158, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4279/0.586, allocations: 156.7 MB / 0.9364 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.6034, allocations: 21.56 MB / 0.9575 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.6048, allocations: 54.69 kB / 0.9575 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.606, allocations: 1.155 MB / 0.9586 GB, free: 4.496 MB / 0.7169 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.0009442/0.607, allocations: 0.8578 MB / 0.9595 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.6077, allocations: 412.6 kB / 0.9599 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008424/0.6085, allocations: 1.242 MB / 0.9611 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.6091, allocations: 0.6755 MB / 0.9617 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.6096, allocations: 0.5472 MB / 0.9623 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.6104, allocations: 0.9183 MB / 0.9632 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/0.6105, allocations: 65.16 kB / 0.9632 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.6107, allocations: 108.7 kB / 0.9633 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.6109, allocations: 314.5 kB / 0.9636 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.6112, allocations: 499.8 kB / 0.9641 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.612, allocations: 1.178 MB / 0.9653 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.612, allocations: 1.094 kB / 0.9653 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.612, allocations: 0 / 0.9653 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.612, allocations: 0 / 0.9653 GB, free: 3.891 MB / 0.7169 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.001892/0.6139, allocations: 1.468 MB / 0.9667 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.614, allocations: 9.219 kB / 0.9667 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.6141, allocations: 136.8 kB / 0.9668 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.6147, allocations: 0.6602 MB / 0.9675 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.6149, allocations: 74.86 kB / 0.9676 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.6149, allocations: 50.34 kB / 0.9676 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.6157, allocations: 0.5146 MB / 0.9681 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.6157, allocations: 4 kB / 0.9681 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.6158, allocations: 18.22 kB / 0.9681 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.6158, allocations: 11.28 kB / 0.9681 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.6165, allocations: 411.3 kB / 0.9685 GB, free: 18.42 MB / 0.7325 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.002665/0.6192, allocations: 2.721 MB / 0.9712 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.62, allocations: 453.4 kB / 0.9716 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/0.6205, allocations: 310.1 kB / 0.9719 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.6205, allocations: 10.22 kB / 0.9719 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.621, allocations: 284.8 kB / 0.9722 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 1.673e-06/0.621, allocations: 7.938 kB / 0.9722 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002132/0.6231, allocations: 1.139 MB / 0.9733 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.6232, allocations: 56.16 kB / 0.9734 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.6245, allocations: 1.757 MB / 0.9751 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.6245, allocations: 37.45 kB / 0.9751 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.6248, allocations: 0.536 MB / 0.9756 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.6249, allocations: 139.8 kB / 0.9758 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.625, allocations: 104 kB / 0.9759 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.6251, allocations: 324.8 kB / 0.9762 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.6255, allocations: 213 kB / 0.9764 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.6259, allocations: 340.6 kB / 0.9767 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.6266, allocations: 0.518 MB / 0.9772 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6267, allocations: 1.781 kB / 0.9772 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001228/0.6279, allocations: 0.8169 MB / 0.978 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6279, allocations: 10.94 kB / 0.978 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.6279, allocations: 4.844 kB / 0.978 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.6283, allocations: 142.5 kB / 0.9782 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.6286, allocations: 100.1 kB / 0.9783 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.6309, allocations: 2.605 MB / 0.9808 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.6313, allocations: 83.94 kB / 0.9809 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.6313, allocations: 19.78 kB / 0.9809 GB, free: 11.07 MB / 0.7325 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.0003409/0.6317, allocations: 381.9 kB / 0.9813 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.6318, allocations: 116.7 kB / 0.9814 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.6319, allocations: 138.3 kB / 0.9815 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.632, allocations: 5.531 kB / 0.9815 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.632, allocations: 2.938 kB / 0.9815 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.632, allocations: 7.281 kB / 0.9815 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.6338, allocations: 1.494 MB / 0.983 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6339, allocations: 0 / 0.983 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.6341, allocations: 49.92 kB / 0.983 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.6344, allocations: 163.1 kB / 0.9832 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.6344, allocations: 10.84 kB / 0.9832 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.6373, allocations: 4.025 MB / 0.9871 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6373, allocations: 0 / 0.9871 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.6387, allocations: 0.9858 MB / 0.9881 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.6389, allocations: 212.3 kB / 0.9883 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.639, allocations: 10.12 kB / 0.9883 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.6393, allocations: 37.06 kB / 0.9883 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.6394, allocations: 56.02 kB / 0.9884 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.6395, allocations: 18.77 kB / 0.9884 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001029/0.6405, allocations: 1.283 MB / 0.9897 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6405, allocations: 2.344 kB / 0.9897 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005482/0.6411, allocations: 195.1 kB / 0.9899 GB, free: 4.883 MB / 0.7325 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.0009232/0.642, allocations: 490.7 kB / 0.9903 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.6432, allocations: 0.6892 MB / 0.991 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6432, allocations: 2.812 kB / 0.991 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.6438, allocations: 0.5293 MB / 0.9915 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008509/0.6447, allocations: 192.8 kB / 0.9917 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.6474, allocations: 2.381 MB / 0.994 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.648, allocations: 1.153 MB / 0.9952 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000224/0.6482, allocations: 93.88 kB / 0.9952 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.6483, allocations: 47.7 kB / 0.9953 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6483, allocations: 4 kB / 0.9953 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of Templates: time 0.01443/0.6627, allocations: 10.01 MB / 1.005 GB, free: 12.71 MB / 0.7481 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)