Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001182, 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.001053/0.001053, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.104/1.104, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.453/1.453, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001288/0.001288, allocations: 72.7 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1588, allocations: 114.6 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4234/0.5822, allocations: 156.7 MB / 0.9364 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.5993, allocations: 21.55 MB / 0.9575 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.6007, allocations: 49.31 kB / 0.9575 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.6019, allocations: 1.165 MB / 0.9586 GB, free: 4.41 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.0009311/0.6029, allocations: 0.8559 MB / 0.9595 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.6035, allocations: 407.3 kB / 0.9599 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008456/0.6044, allocations: 1.247 MB / 0.9611 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.605, allocations: 0.6815 MB / 0.9618 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004724/0.6055, allocations: 0.5454 MB / 0.9623 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007624/0.6063, allocations: 0.9148 MB / 0.9632 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.6064, allocations: 69.19 kB / 0.9632 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.6066, allocations: 107 kB / 0.9633 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.6068, allocations: 318.6 kB / 0.9636 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.6071, allocations: 493.3 kB / 0.9641 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.6079, allocations: 1.172 MB / 0.9653 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6079, allocations: 0 / 0.9653 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6079, allocations: 6.438 kB / 0.9653 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.6079, allocations: 1 kB / 0.9653 GB, free: 3.809 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.001933/0.6098, allocations: 1.474 MB / 0.9667 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.6099, allocations: 9.312 kB / 0.9667 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.61, allocations: 130.8 kB / 0.9668 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.6107, allocations: 0.655 MB / 0.9675 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.6108, allocations: 75.08 kB / 0.9676 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.6108, allocations: 48.16 kB / 0.9676 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.6116, allocations: 0.5126 MB / 0.9681 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.6116, allocations: 0 / 0.9681 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.6117, allocations: 20.03 kB / 0.9681 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.6117, allocations: 15 kB / 0.9681 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.6124, allocations: 412.7 kB / 0.9685 GB, free: 18.34 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.002764/0.6152, allocations: 2.803 MB / 0.9713 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/0.616, allocations: 462.4 kB / 0.9717 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.6165, allocations: 292.8 kB / 0.972 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.6165, allocations: 3.594 kB / 0.972 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/0.617, allocations: 299.2 kB / 0.9723 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.783e-06/0.617, allocations: 1.062 kB / 0.9723 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002366/0.6194, allocations: 1.246 MB / 0.9735 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.6194, allocations: 54.91 kB / 0.9735 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.6207, allocations: 1.751 MB / 0.9753 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.6207, allocations: 39.05 kB / 0.9753 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.621, allocations: 0.5097 MB / 0.9758 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.6211, allocations: 151 kB / 0.9759 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.6212, allocations: 98.88 kB / 0.976 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.6213, allocations: 329.4 kB / 0.9763 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.6217, allocations: 217 kB / 0.9765 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.6221, allocations: 329.4 kB / 0.9769 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.6228, allocations: 0.5072 MB / 0.9774 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6228, allocations: 6.219 kB / 0.9774 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001295/0.6241, allocations: 0.8556 MB / 0.9782 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6242, allocations: 5.156 kB / 0.9782 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6242, allocations: 4.531 kB / 0.9782 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.6246, allocations: 184.9 kB / 0.9784 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.6249, allocations: 98.41 kB / 0.9785 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.6277, allocations: 2.994 MB / 0.9814 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.6281, allocations: 80.94 kB / 0.9815 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.6281, allocations: 19.84 kB / 0.9815 GB, free: 10.88 MB / 0.7325 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.0003422/0.6284, allocations: 388.3 kB / 0.9819 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6286, allocations: 119 kB / 0.982 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.6287, allocations: 137.1 kB / 0.9821 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.6287, allocations: 5.031 kB / 0.9821 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6287, allocations: 1.812 kB / 0.9821 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6288, allocations: 1.641 kB / 0.9821 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.6307, allocations: 1.571 MB / 0.9837 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6308, allocations: 0 / 0.9837 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.6309, allocations: 50.84 kB / 0.9837 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/0.6313, allocations: 194.8 kB / 0.9839 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.6314, allocations: 14.2 kB / 0.9839 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/0.6348, allocations: 4.564 MB / 0.9884 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6349, allocations: 0 / 0.9884 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.6364, allocations: 1.055 MB / 0.9894 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.6366, allocations: 218.7 kB / 0.9896 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/0.6367, allocations: 10.06 kB / 0.9896 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.637, allocations: 33.38 kB / 0.9896 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.6371, allocations: 55.83 kB / 0.9897 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.6371, allocations: 18.77 kB / 0.9897 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009986/0.6381, allocations: 1.273 MB / 0.991 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6381, allocations: 0 / 0.991 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005771/0.6387, allocations: 200.4 kB / 0.9911 GB, free: 4.137 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,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.0009088/0.6396, allocations: 485.6 kB / 0.9916 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.6409, allocations: 0.7482 MB / 0.9923 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6409, allocations: 1.781 kB / 0.9923 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.6417, allocations: 0.5514 MB / 0.9929 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008445/0.6425, allocations: 197.5 kB / 0.9931 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.6452, allocations: 2.387 MB / 0.9954 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.6458, allocations: 1.151 MB / 0.9965 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.646, allocations: 88.95 kB / 0.9966 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.6461, allocations: 51.33 kB / 0.9967 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.6461, allocations: 3.156 kB / 0.9967 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of Templates: time 0.0149/0.661, allocations: 10.44 MB / 1.007 GB, free: 11.71 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)