Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001134/0.001134, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.46/1.46, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.871/1.871, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001474/0.001474, allocations: 71.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2802, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002186/0.2824, allocations: 0.8383 MB / 0.7849 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.2842, allocations: 1.343 MB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.2843, allocations: 0 / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.2844, allocations: 7.875 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.97e-05/0.2845, allocations: 23.78 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.2853, allocations: 289.4 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.2856, allocations: 387.4 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.2858, allocations: 40.83 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.286, allocations: 155.7 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.2861, allocations: 135.6 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.2862, allocations: 40 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.2863, allocations: 51.98 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.2864, allocations: 71.8 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.2866, allocations: 147.6 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.2869, allocations: 327.4 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.287, allocations: 0 / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.287, allocations: 0 / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.287, allocations: 4 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.3823/0.6693, allocations: 0.6049 MB / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.6694, allocations: 9.875 kB / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.6695, allocations: 30.88 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006872/0.6702, allocations: 302.1 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6702, allocations: 21.23 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.6703, allocations: 42.94 kB / 0.7888 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.6707, allocations: 257.2 kB / 0.789 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6707, allocations: 3.125 kB / 0.789 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.6708, allocations: 15.22 kB / 0.789 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.6708, allocations: 2.625 kB / 0.789 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.671, allocations: 124.1 kB / 0.7891 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.6718, allocations: 0.6124 MB / 0.7897 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.6723, allocations: 412.7 kB / 0.7901 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.6725, allocations: 181 kB / 0.7903 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.6725, allocations: 3.906 kB / 0.7903 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005166/0.6731, allocations: 368.4 kB / 0.7907 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.6731, allocations: 0 / 0.7907 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.0009016/0.674, allocations: 0.6556 MB / 0.7913 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.674, allocations: 75.77 kB / 0.7914 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.6741, allocations: 146 kB / 0.7915 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.6742, allocations: 49.75 kB / 0.7916 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.6742, allocations: 106 kB / 0.7917 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.6743, allocations: 107.1 kB / 0.7918 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.6745, allocations: 116.6 kB / 0.7919 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.6745, allocations: 343.5 kB / 0.7922 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.6748, allocations: 146.9 kB / 0.7923 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.675, allocations: 292.6 kB / 0.7926 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.6755, allocations: 457.3 kB / 0.7931 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6755, allocations: 6.75 kB / 0.7931 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007095/0.6762, allocations: 0.563 MB / 0.7936 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.6763, allocations: 71.75 kB / 0.7937 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6763, allocations: 10.5 kB / 0.7937 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.6763, allocations: 6.906 kB / 0.7937 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.6764, allocations: 47.52 kB / 0.7937 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.6765, allocations: 14.28 kB / 0.7938 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.6769, allocations: 88.81 kB / 0.7938 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.677, allocations: 33.86 kB / 0.7939 GB, free: 46.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.6771, allocations: 178.7 kB / 0.794 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.6772, allocations: 33.53 kB / 0.7941 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.6772, allocations: 30.97 kB / 0.7941 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6772, allocations: 5.422 kB / 0.7941 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.6772, allocations: 6.562 kB / 0.7941 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6772, allocations: 3.328 kB / 0.7941 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.6785, allocations: 1.012 MB / 0.7951 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.6785, allocations: 0 / 0.7951 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.6785, allocations: 19.75 kB / 0.7951 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6785, allocations: 3.188 kB / 0.7951 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.6786, allocations: 20.38 kB / 0.7951 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6786, allocations: 3.344 kB / 0.7952 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.6786, allocations: 0 / 0.7952 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.6793, allocations: 0.6198 MB / 0.7958 GB, free: 46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.6793, allocations: 100.7 kB / 0.7959 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.6794, allocations: 24 kB / 0.7959 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.6795, allocations: 31.38 kB / 0.7959 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.231e-05/0.6796, allocations: 44.58 kB / 0.7959 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.6797, allocations: 30.91 kB / 0.796 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.6797, allocations: 103.2 kB / 0.7961 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6797, allocations: 3.5 kB / 0.7961 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004051/0.6802, allocations: 97.34 kB / 0.7962 GB, free: 45.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.6804, allocations: 145.6 kB / 0.7963 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007746/0.6812, allocations: 0.5676 MB / 0.7969 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6812, allocations: 0 / 0.7969 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.6815, allocations: 308.1 kB / 0.7972 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.6818, allocations: 43.12 kB / 0.7972 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.6825, allocations: 483.4 kB / 0.7977 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.6827, allocations: 0.7282 MB / 0.7984 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.6827, allocations: 29.94 kB / 0.7984 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6828, allocations: 0 / 0.7984 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.006642/0.6894, allocations: 3.509 MB / 0.8018 GB, free: 44.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)