Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.611/2.611, allocations: 287.5 MB / 303.2 MB, free: 8.195 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.001313/0.001313, allocations: 177.2 kB / 371.8 MB, free: 10.84 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.056/2.056, 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.000927/0.0009269, allocations: 97.84 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006567/0.0006568, allocations: 13.5 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9796/1.2, allocations: 141.4 MB / 1.117 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.2, allocations: 78.55 kB / 1.117 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02748/1.228, allocations: 6.993 MB / 1.124 GB, free: 31.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.875e-06/1.228, allocations: 0 / 1.124 GB, free: 31.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.791e-05/1.228, allocations: 4.031 kB / 1.124 GB, free: 31.12 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.001027/1.229, allocations: 0.5396 MB / 1.125 GB, free: 30.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.229, allocations: 7.719 kB / 1.125 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/1.229, allocations: 24.19 kB / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/1.23, allocations: 337.8 kB / 1.125 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.23, allocations: 4.281 kB / 1.125 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/1.23, allocations: 10.7 kB / 1.125 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/1.23, allocations: 84.94 kB / 1.125 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.23, allocations: 3.938 kB / 1.125 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.23, allocations: 2.812 kB / 1.125 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.23, allocations: 0 / 1.125 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/1.23, allocations: 44.16 kB / 1.125 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009085/1.231, allocations: 448.3 kB / 1.126 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/1.232, allocations: 91.45 kB / 1.126 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/1.232, allocations: 32.3 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/1.232, allocations: 0 / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/1.232, allocations: 79.41 kB / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/1.232, allocations: 0 / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004777/1.232, allocations: 141.6 kB / 1.126 GB, free: 29.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.232, allocations: 54.84 kB / 1.126 GB, free: 29.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/1.233, allocations: 362.5 kB / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/1.233, allocations: 29.02 kB / 1.127 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.233, allocations: 134.6 kB / 1.127 GB, free: 29.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/1.233, allocations: 21.92 kB / 1.127 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/1.233, allocations: 6.906 kB / 1.127 GB, free: 29.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.233, allocations: 336.5 kB / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.234, allocations: 72.67 kB / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/1.234, allocations: 96.23 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/1.234, allocations: 110.6 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.234, allocations: 0 / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005309/1.235, allocations: 219.1 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.235, allocations: 7.75 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.235, allocations: 4.062 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.235, allocations: 0 / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/1.235, allocations: 21.86 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.235, allocations: 0 / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/1.235, allocations: 21.83 kB / 1.128 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/1.235, allocations: 6.531 kB / 1.128 GB, free: 29.21 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,gre.y,$PRE.greHys.greHys.y,greHys.greHys.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.0002004/1.235, allocations: 162.1 kB / 1.128 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/1.235, allocations: 27.19 kB / 1.128 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/1.236, allocations: 122.1 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.236, allocations: 3.875 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.236, allocations: 0 / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.236, allocations: 3.938 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/1.236, allocations: 244.8 kB / 1.128 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.236, allocations: 0 / 1.128 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/1.236, allocations: 10.41 kB / 1.128 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.236, allocations: 3.969 kB / 1.128 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.236, allocations: 3.688 kB / 1.128 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.236, allocations: 4 kB / 1.128 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.236, allocations: 0 / 1.128 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/1.237, allocations: 144.8 kB / 1.128 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.504e-05/1.237, allocations: 106.2 kB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/1.237, allocations: 0 / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.237, allocations: 14.3 kB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/1.237, allocations: 20.81 kB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/1.237, allocations: 6.984 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003133/1.237, allocations: 228.7 kB / 1.129 GB, free: 28.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.237, allocations: 0 / 1.129 GB, free: 28.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000408/1.238, allocations: 51.73 kB / 1.129 GB, free: 28.56 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,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.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.001192/1.239, allocations: 436.5 kB / 1.129 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003959/1.239, allocations: 118 kB / 1.129 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.239, allocations: 0 / 1.129 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.24, allocations: 32.59 kB / 1.129 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/1.24, allocations: 47.72 kB / 1.129 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/1.241, allocations: 434.6 kB / 1.13 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/1.241, allocations: 0.7477 MB / 1.13 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001665/1.242, allocations: 34.11 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/1.242, allocations: 22.69 kB / 1.13 GB, free: 27.38 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/1.242, allocations: 4 kB / 1.13 GB, free: 27.38 MB / 0.698 GB Notification: Performance of Templates: time 0.008498/1.25, allocations: 2.688 MB / 1.133 GB, free: 26.96 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)