Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.599/1.599, allocations: 297.8 MB / 313.7 MB, free: 100 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 190.1 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 0.6626 GB, free: 4.238 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007714/0.0007714, allocations: 96.84 kB / 0.7808 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003757, allocations: 16 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6557/0.6561, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.8393, allocations: 141 MB / 1.164 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.8397, allocations: 70.73 kB / 1.164 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002818/0.8426, allocations: 0.9518 MB / 1.165 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8426, allocations: 4.703 kB / 1.165 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.8426, allocations: 0 / 1.165 GB, free: 1.594 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004086/0.843, allocations: 363.5 kB / 1.165 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8431, allocations: 8.031 kB / 1.165 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.8431, allocations: 5.828 kB / 1.165 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.8433, allocations: 166.6 kB / 1.166 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.8433, allocations: 5.531 kB / 1.166 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.8433, allocations: 384 / 1.166 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.8435, allocations: 76.77 kB / 1.166 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8435, allocations: 3.25 kB / 1.166 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8435, allocations: 9.609 kB / 1.166 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.8436, allocations: 7.156 kB / 1.166 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.8438, allocations: 57.08 kB / 1.166 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.8442, allocations: 288.3 kB / 1.166 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.8444, allocations: 69.12 kB / 1.166 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.8445, allocations: 37.86 kB / 1.166 GB, free: 472 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.8445, allocations: 3.312 kB / 1.166 GB, free: 472 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.8446, allocations: 30.56 kB / 1.166 GB, free: 432 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.8446, allocations: 0 / 1.166 GB, free: 432 kB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0004123/0.845, allocations: 131.2 kB / 1.166 GB, free: 320 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.845, allocations: 53.5 kB / 1.166 GB, free: 256 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.8451, allocations: 106.2 kB / 1.166 GB, free: 144 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.8451, allocations: 30.42 kB / 1.166 GB, free: 108 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.8452, allocations: 85.55 kB / 1.166 GB, free: 20 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.8452, allocations: 19.52 kB / 1.167 GB, free: 4 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.8452, allocations: 3.938 kB / 1.167 GB, free: 0 / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8454, allocations: 319 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.8455, allocations: 27.22 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.8456, allocations: 33.22 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.8458, allocations: 64.69 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8458, allocations: 1.094 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002581/0.8461, allocations: 90.38 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8461, allocations: 8 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.8461, allocations: 1.938 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8461, allocations: 0.6094 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.8462, allocations: 15.83 kB / 1.167 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8463, allocations: 1.031 kB / 1.167 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.8463, allocations: 18.62 kB / 1.167 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.8464, allocations: 4.797 kB / 1.167 GB, free: 15.47 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.592e-05/0.8465, allocations: 110.7 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.8465, allocations: 9.031 kB / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.8465, allocations: 14.06 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8465, allocations: 0 / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8465, allocations: 1 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8466, allocations: 4.844 kB / 1.167 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.8468, allocations: 173 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8468, allocations: 0 / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.8469, allocations: 18.39 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8469, allocations: 0 / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.8469, allocations: 4.703 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8469, allocations: 2.266 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8469, allocations: 2 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.8472, allocations: 197.9 kB / 1.168 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.8473, allocations: 82.09 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.8473, allocations: 3.312 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.8474, allocations: 11.66 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.8475, allocations: 12.03 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.8475, allocations: 2.484 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.8476, allocations: 90.11 kB / 1.168 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8476, allocations: 0 / 1.168 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002425/0.8478, allocations: 12.7 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001588/0.848, allocations: 101.4 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.8482, allocations: 62.16 kB / 1.168 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8483, allocations: 0 / 1.168 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.8484, allocations: 49.64 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.8487, allocations: 5.969 kB / 1.168 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.8491, allocations: 142.5 kB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.8493, allocations: 0.6855 MB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.945e-05/0.8494, allocations: 1.312 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.8494, allocations: 17.69 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of SimCode: time 2e-07/0.8494, allocations: 0 / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of Templates: time 0.003116/0.8525, allocations: 0.7392 MB / 1.17 GB, free: 13.23 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)