Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.67/2.67, allocations: 287.5 MB / 302.5 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 176.2 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001158, allocations: 93.97 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004771, allocations: 17.5 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2666, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9898/1.256, allocations: 141.4 MB / 1.116 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.257, allocations: 78.45 kB / 1.117 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0289/1.286, allocations: 6.967 MB / 1.123 GB, free: 31.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.075e-06/1.286, allocations: 224 / 1.123 GB, free: 31.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.748e-05/1.286, allocations: 7.844 kB / 1.123 GB, free: 31.05 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.001076/1.287, allocations: 0.5374 MB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.287, allocations: 11.53 kB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/1.287, allocations: 23.28 kB / 1.124 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/1.288, allocations: 335.1 kB / 1.124 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.288, allocations: 3.875 kB / 1.124 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/1.288, allocations: 7.688 kB / 1.124 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/1.288, allocations: 80.48 kB / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.288, allocations: 0 / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/1.288, allocations: 0 / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.288, allocations: 0 / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/1.288, allocations: 47.33 kB / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/1.289, allocations: 445.2 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/1.29, allocations: 85.02 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/1.29, allocations: 3.875 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/1.29, allocations: 83.95 kB / 1.125 GB, free: 29.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.29, allocations: 3.812 kB / 1.125 GB, free: 29.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004976/1.291, allocations: 127.6 kB / 1.125 GB, free: 29.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.291, allocations: 55.38 kB / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/1.291, allocations: 338.4 kB / 1.125 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/1.291, allocations: 33.48 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.291, allocations: 136.1 kB / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/1.291, allocations: 14.5 kB / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/1.291, allocations: 3.75 kB / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.292, allocations: 336.4 kB / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/1.292, allocations: 73.28 kB / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/1.292, allocations: 101.1 kB / 1.126 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/1.292, allocations: 67.5 kB / 1.126 GB, free: 29.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.292, allocations: 0 / 1.126 GB, free: 29.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005482/1.293, allocations: 218.7 kB / 1.126 GB, free: 29.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.293, allocations: 7.781 kB / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.293, allocations: 0 / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.293, allocations: 7.797 kB / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.293, allocations: 25.55 kB / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.293, allocations: 4.062 kB / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/1.293, allocations: 16.5 kB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/1.293, allocations: 11.62 kB / 1.126 GB, free: 29.2 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.000226/1.294, allocations: 150.1 kB / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/1.294, allocations: 19.34 kB / 1.127 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/1.294, allocations: 132 kB / 1.127 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.294, allocations: 7.953 kB / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/1.294, allocations: 3.875 kB / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.294, allocations: 0 / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/1.294, allocations: 243.6 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.294, allocations: 0 / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/1.295, allocations: 14.2 kB / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.295, allocations: 0 / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.295, allocations: 3.75 kB / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.295, allocations: 0 / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.295, allocations: 7.953 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/1.295, allocations: 144.7 kB / 1.127 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.295, allocations: 98.98 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/1.295, allocations: 7.719 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.295, allocations: 12.45 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/1.295, allocations: 8.266 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/1.295, allocations: 7.859 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003416/1.296, allocations: 233.8 kB / 1.127 GB, free: 28.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.296, allocations: 4 kB / 1.127 GB, free: 28.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004383/1.296, allocations: 58.28 kB / 1.128 GB, free: 28.54 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.001294/1.297, allocations: 432.5 kB / 1.128 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004289/1.298, allocations: 115.4 kB / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.298, allocations: 0 / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/1.298, allocations: 35.58 kB / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/1.299, allocations: 49.8 kB / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000915/1.299, allocations: 422.9 kB / 1.129 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/1.3, allocations: 0.7542 MB / 1.129 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001943/1.3, allocations: 30.5 kB / 1.129 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/1.3, allocations: 24.7 kB / 1.129 GB, free: 27.38 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.3, allocations: 0 / 1.129 GB, free: 27.38 MB / 0.698 GB Notification: Performance of Templates: time 0.00876/1.309, allocations: 2.669 MB / 1.132 GB, free: 27 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)