Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 110 kB / 16.41 MB, free: 6.5 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.001138/0.001138, allocations: 185.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002197/0.002197, allocations: 289.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 99.83 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.416, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1519/0.5679, allocations: 158.3 MB / 0.9216 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02586/0.5938, allocations: 22.25 MB / 0.9434 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.5963, allocations: 63.69 kB / 0.9434 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.5989, allocations: 1.975 MB / 0.9453 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.6014, allocations: 1.327 MB / 0.9466 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.6034, allocations: 0.682 MB / 0.9473 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002624/0.606, allocations: 1.954 MB / 0.9492 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.6078, allocations: 1.144 MB / 0.9503 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.6093, allocations: 0.8956 MB / 0.9512 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.6111, allocations: 1.448 MB / 0.9526 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.6115, allocations: 108 kB / 0.9527 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.612, allocations: 163.9 kB / 0.9529 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.6125, allocations: 0.5194 MB / 0.9534 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009855/0.6134, allocations: 0.8186 MB / 0.9542 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.6156, allocations: 1.979 MB / 0.9561 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.6156, allocations: 0 / 0.9561 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6157, allocations: 0 / 0.9561 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.264e-05/0.6157, allocations: 0 / 0.9561 GB, free: 1.582 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.3873/1.003, allocations: 2.374 MB / 0.9584 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.003, allocations: 9.469 kB / 0.9584 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/1.004, allocations: 249.9 kB / 0.9587 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/1.006, allocations: 1.063 MB / 0.9597 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/1.007, allocations: 102 kB / 0.9598 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/1.007, allocations: 87.73 kB / 0.9599 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/1.009, allocations: 0.8628 MB / 0.9607 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/1.009, allocations: 5.672 kB / 0.9607 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/1.009, allocations: 32.56 kB / 0.9608 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/1.009, allocations: 19.78 kB / 0.9608 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/1.01, allocations: 0.6548 MB / 0.9614 GB, free: 189.7 MB / 0.7169 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.005137/1.015, allocations: 4.144 MB / 0.9655 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.017, allocations: 0.7142 MB / 0.9662 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007833/1.017, allocations: 413.2 kB / 0.9666 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/1.018, allocations: 18.62 kB / 0.9666 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008193/1.018, allocations: 427.9 kB / 0.967 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=79): time 5.099e-06/1.018, allocations: 1.188 kB / 0.967 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=79): time 0.005811/1.024, allocations: 2.112 MB / 0.9691 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.024, allocations: 89.64 kB / 0.9692 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/1.027, allocations: 3.195 MB / 0.9723 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.557e-05/1.027, allocations: 49.7 kB / 0.9723 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000613/1.028, allocations: 0.9598 MB / 0.9733 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/1.028, allocations: 260.2 kB / 0.9735 GB, free: 182 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/1.028, allocations: 154.6 kB / 0.9737 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/1.028, allocations: 337.9 kB / 0.974 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/1.029, allocations: 317.8 kB / 0.9743 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/1.03, allocations: 469.3 kB / 0.9747 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.031, allocations: 0.7339 MB / 0.9754 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.031, allocations: 4 kB / 0.9754 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002062/1.033, allocations: 1.234 MB / 0.9766 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.033, allocations: 8 kB / 0.9767 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.033, allocations: 8.109 kB / 0.9767 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008551/1.034, allocations: 327.6 kB / 0.977 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.034, allocations: 131.8 kB / 0.9771 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/1.039, allocations: 4.063 MB / 0.9811 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/1.04, allocations: 111.2 kB / 0.9812 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/1.04, allocations: 31.38 kB / 0.9812 GB, free: 173.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0007692/1.041, allocations: 0.5835 MB / 0.9818 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1.041, allocations: 205.4 kB / 0.982 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/1.041, allocations: 249.5 kB / 0.9822 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.041, allocations: 11.94 kB / 0.9822 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.041, allocations: 0 / 0.9822 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/1.041, allocations: 3.984 kB / 0.9822 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/1.044, allocations: 2.417 MB / 0.9846 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.044, allocations: 0 / 0.9846 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/1.045, allocations: 67.89 kB / 0.9847 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007547/1.045, allocations: 334.5 kB / 0.985 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/1.045, allocations: 19.98 kB / 0.985 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004997/1.05, allocations: 5.546 MB / 0.9904 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.05, allocations: 0 / 0.9904 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/1.053, allocations: 1.573 MB / 0.9919 GB, free: 162.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/1.053, allocations: 314.3 kB / 0.9922 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/1.053, allocations: 20 kB / 0.9923 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/1.054, allocations: 43.95 kB / 0.9923 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/1.054, allocations: 96.45 kB / 0.9924 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/1.054, allocations: 31.92 kB / 0.9924 GB, free: 162 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001753/1.056, allocations: 2.337 MB / 0.9947 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.056, allocations: 0 / 0.9947 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009503/1.057, allocations: 325 kB / 0.995 GB, free: 159.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/1.058, allocations: 492 kB / 0.9955 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.059, allocations: 1.027 MB / 0.9965 GB, free: 158 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.059, allocations: 8.062 kB / 0.9965 GB, free: 158 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.061, allocations: 0.7694 MB / 0.9972 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.062, allocations: 303.7 kB / 0.9975 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/1.066, allocations: 4.141 MB / 1.002 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/1.067, allocations: 1.521 MB / 1.003 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/1.067, allocations: 71.42 kB / 1.003 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/1.067, allocations: 0 / 1.003 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.03551/1.103, allocations: 32.46 MB / 1.035 GB, free: 118.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)