Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.508/2.508, allocations: 287.5 MB / 303.2 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 181.2 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.6305 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009777/0.0009774, allocations: 96.42 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007776/0.0007778, allocations: 14.03 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2213, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9747/1.196, allocations: 141.4 MB / 1.117 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.196, allocations: 83.67 kB / 1.117 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02873/1.225, allocations: 6.992 MB / 1.124 GB, free: 31.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/1.225, allocations: 224 / 1.124 GB, free: 31.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.645e-05/1.225, allocations: 7.75 kB / 1.124 GB, free: 31.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001111/1.226, allocations: 0.5341 MB / 1.125 GB, free: 30.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.226, allocations: 7.625 kB / 1.125 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/1.227, allocations: 28.12 kB / 1.125 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/1.227, allocations: 340.6 kB / 1.125 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/1.227, allocations: 4.25 kB / 1.125 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/1.227, allocations: 8.094 kB / 1.125 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/1.228, allocations: 80.83 kB / 1.125 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.228, allocations: 7.875 kB / 1.125 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.228, allocations: 7.922 kB / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.228, allocations: 0 / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/1.228, allocations: 41.33 kB / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009772/1.229, allocations: 441 kB / 1.126 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/1.229, allocations: 92.42 kB / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/1.229, allocations: 26.7 kB / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/1.229, allocations: 0 / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/1.23, allocations: 78.28 kB / 1.126 GB, free: 30.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.484e-06/1.23, allocations: 0 / 1.126 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000493/1.23, allocations: 143.4 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/1.23, allocations: 51.41 kB / 1.126 GB, free: 29.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/1.231, allocations: 362.2 kB / 1.126 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/1.231, allocations: 32.45 kB / 1.126 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.231, allocations: 137.2 kB / 1.127 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/1.231, allocations: 21.23 kB / 1.127 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/1.231, allocations: 7.312 kB / 1.127 GB, free: 29.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.231, allocations: 345.1 kB / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.231, allocations: 67.39 kB / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/1.232, allocations: 93.16 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/1.232, allocations: 111.8 kB / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.232, allocations: 0 / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000581/1.233, allocations: 218.6 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.233, allocations: 3.906 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.233, allocations: 7.516 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.233, allocations: 3.812 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/1.233, allocations: 21.27 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.233, allocations: 3.812 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/1.233, allocations: 17.44 kB / 1.128 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/1.233, allocations: 15.55 kB / 1.128 GB, free: 29.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002221/1.233, allocations: 158.9 kB / 1.128 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/1.233, allocations: 27.31 kB / 1.128 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/1.234, allocations: 119.8 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.234, allocations: 3.875 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.234, allocations: 0 / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.234, allocations: 6.656 kB / 1.128 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/1.234, allocations: 244.7 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.234, allocations: 0 / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/1.234, allocations: 6.25 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.234, allocations: 3.938 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/1.234, allocations: 3.875 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.234, allocations: 4 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.234, allocations: 0 / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/1.235, allocations: 149 kB / 1.128 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.235, allocations: 99 kB / 1.128 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/1.235, allocations: 7.062 kB / 1.128 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/1.235, allocations: 10.22 kB / 1.128 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/1.235, allocations: 19.11 kB / 1.128 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/1.235, allocations: 7.75 kB / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003399/1.235, allocations: 227.8 kB / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.235, allocations: 0 / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004311/1.236, allocations: 56.42 kB / 1.129 GB, free: 28.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001235/1.237, allocations: 437.4 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004387/1.238, allocations: 108 kB / 1.129 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.238, allocations: 0 / 1.129 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/1.238, allocations: 38.47 kB / 1.129 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/1.238, allocations: 42.2 kB / 1.129 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/1.24, allocations: 433.3 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/1.24, allocations: 0.7488 MB / 1.13 GB, free: 27.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002205/1.241, allocations: 32.31 kB / 1.13 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/1.241, allocations: 24.55 kB / 1.13 GB, free: 27.45 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.241, allocations: 4 kB / 1.13 GB, free: 27.45 MB / 0.698 GB Notification: Performance of Templates: time 0.008818/1.249, allocations: 2.688 MB / 1.133 GB, free: 27.04 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)