Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.534/2.534, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.942e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002391/0.002421, allocations: 0.8186 MB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003728, allocations: 0.9052 MB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.003787, allocations: 4 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.003825, allocations: 7.875 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.902e-05/0.003924, allocations: 7.922 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.00411, allocations: 43.83 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.004239, allocations: 91.75 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004342, allocations: 19.97 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.004466, allocations: 55.88 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.004551, allocations: 35.91 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.004579, allocations: 8 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.004595, allocations: 8 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.004624, allocations: 19.97 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.004664, allocations: 31.89 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.004799, allocations: 67.73 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004802, allocations: 0 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004803, allocations: 0 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004807, allocations: 0 / 0.8407 GB, free: 11.99 MB / 0.8073 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.0004429/0.00525, allocations: 284.6 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.005289, allocations: 12.03 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.005331, allocations: 12.94 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.005449, allocations: 117.6 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.005471, allocations: 4.375 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.005488, allocations: 12.36 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.00571, allocations: 90.83 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.005721, allocations: 3.938 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.005732, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.005739, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.005805, allocations: 27.97 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.0062, allocations: 192.2 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.006518, allocations: 70.39 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.006555, allocations: 16.86 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.006573, allocations: 7.984 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.006601, allocations: 30.56 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.006604, allocations: 4 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001929/0.006797, allocations: 69.83 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.006831, allocations: 55.41 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.006916, allocations: 126.7 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.006932, allocations: 25.7 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.006974, allocations: 92.08 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.007006, allocations: 27.78 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.007052, allocations: 17.7 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.007153, allocations: 322.8 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.007184, allocations: 7.984 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.007212, allocations: 16 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.007283, allocations: 32.81 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.007287, allocations: 7.875 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/0.007396, allocations: 57.62 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.007411, allocations: 7.984 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007416, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.007429, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.007538, allocations: 15.98 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.007541, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.007598, allocations: 11.98 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.007606, allocations: 0 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.007687, allocations: 117.8 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.007718, allocations: 4 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.007743, allocations: 12.42 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.007745, allocations: 0 / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.007746, allocations: 0 / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007749, allocations: 0 / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.007903, allocations: 85.88 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007905, allocations: 4 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.007996, allocations: 27.91 kB / 0.8427 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.007999, allocations: 3.938 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.008008, allocations: 0 / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008009, allocations: 0 / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00801, allocations: 0 / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.008164, allocations: 155.5 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.008182, allocations: 19.81 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.008196, allocations: 0 / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.008281, allocations: 4 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.008356, allocations: 27.97 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.008367, allocations: 7.984 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.517e-05/0.008392, allocations: 21.22 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008392, allocations: 0 / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005253/0.008917, allocations: 15.95 kB / 0.8429 GB, free: 9.543 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.009042, allocations: 88.34 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.009159, allocations: 32.84 kB / 0.843 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.009162, allocations: 3.938 kB / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.009225, allocations: 36.78 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009447, allocations: 20.44 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.009796, allocations: 165 kB / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.009839, allocations: 59.34 kB / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.009901, allocations: 12 kB / 0.8433 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.01001, allocations: 67.36 kB / 0.8434 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.01001, allocations: 0 / 0.8434 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of Templates: time 0.004158/0.01416, allocations: 1.708 MB / 0.845 GB, free: 7.316 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.429570618085563]