Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.531/2.531, allocations: 287.5 MB / 303.2 MB, free: 8.273 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.001403/0.001402, allocations: 178.6 kB / 371.8 MB, free: 10.86 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.118/2.118, 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.0009169/0.0009167, allocations: 92.8 kB / 0.7438 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006341/0.0006342, allocations: 14.38 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2544, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9431/1.198, allocations: 141.4 MB / 1.117 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/1.198, allocations: 87.36 kB / 1.118 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03937/1.237, allocations: 7.071 MB / 1.124 GB, free: 31.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.237, allocations: 0 / 1.124 GB, free: 31.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.697e-05/1.238, allocations: 8.031 kB / 1.124 GB, free: 31.15 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001066/1.239, allocations: 0.5376 MB / 1.125 GB, free: 30.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.239, allocations: 7.688 kB / 1.125 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/1.239, allocations: 24.19 kB / 1.125 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/1.24, allocations: 344.5 kB / 1.125 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.24, allocations: 7.719 kB / 1.125 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/1.24, allocations: 7.219 kB / 1.125 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/1.24, allocations: 94.84 kB / 1.125 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.24, allocations: 3.938 kB / 1.125 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/1.24, allocations: 3.984 kB / 1.125 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.24, allocations: 3.875 kB / 1.125 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/1.24, allocations: 48.84 kB / 1.125 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/1.241, allocations: 473.4 kB / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/1.242, allocations: 90.75 kB / 1.126 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/1.242, allocations: 30.17 kB / 1.126 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/1.242, allocations: 0 / 1.126 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/1.242, allocations: 88.14 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.975e-06/1.242, allocations: 3.938 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0007958/1.243, allocations: 137.7 kB / 1.126 GB, free: 29.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/1.243, allocations: 58.62 kB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/1.244, allocations: 365.9 kB / 1.127 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/1.244, allocations: 32.45 kB / 1.127 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.244, allocations: 142.5 kB / 1.127 GB, free: 29.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/1.244, allocations: 17.59 kB / 1.127 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/1.244, allocations: 3.188 kB / 1.127 GB, free: 29.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.244, allocations: 341.6 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/1.244, allocations: 64.95 kB / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/1.244, allocations: 93.81 kB / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/1.245, allocations: 110.2 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.245, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005491/1.245, allocations: 219.9 kB / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.245, allocations: 11.81 kB / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.245, allocations: 0 / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.245, allocations: 3.938 kB / 1.128 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/1.246, allocations: 21.89 kB / 1.128 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/1.246, allocations: 3.844 kB / 1.128 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/1.246, allocations: 17.77 kB / 1.128 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/1.246, allocations: 13.97 kB / 1.128 GB, free: 29.24 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.0002262/1.246, allocations: 158.2 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/1.246, allocations: 23.47 kB / 1.128 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/1.247, allocations: 122.5 kB / 1.128 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.247, allocations: 3.938 kB / 1.128 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.247, allocations: 2.766 kB / 1.128 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.247, allocations: 3.719 kB / 1.128 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/1.247, allocations: 246 kB / 1.128 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.247, allocations: 0 / 1.128 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/1.247, allocations: 9.484 kB / 1.128 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.247, allocations: 0 / 1.128 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.247, allocations: 11.81 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.247, allocations: 3.938 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.247, allocations: 0 / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/1.247, allocations: 147.9 kB / 1.128 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.247, allocations: 102.6 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/1.248, allocations: 3.906 kB / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/1.248, allocations: 18.39 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/1.248, allocations: 12.11 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/1.248, allocations: 6.438 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003473/1.248, allocations: 237 kB / 1.129 GB, free: 28.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.248, allocations: 0 / 1.129 GB, free: 28.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004091/1.249, allocations: 57.94 kB / 1.129 GB, free: 28.57 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.001239/1.25, allocations: 428.8 kB / 1.129 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003918/1.25, allocations: 112.1 kB / 1.129 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.25, allocations: 0 / 1.129 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/1.25, allocations: 39.38 kB / 1.129 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/1.251, allocations: 52.25 kB / 1.129 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/1.252, allocations: 433.6 kB / 1.13 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/1.252, allocations: 0.7537 MB / 1.131 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001655/1.252, allocations: 30.45 kB / 1.131 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/1.253, allocations: 22.58 kB / 1.131 GB, free: 27.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.253, allocations: 0 / 1.131 GB, free: 27.4 MB / 0.698 GB Notification: Performance of Templates: time 0.008431/1.261, allocations: 2.703 MB / 1.133 GB, free: 26.92 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)