Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 1.059 GB, free: 376 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3574, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002183/0.3596, allocations: 0.7949 MB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3608, allocations: 0.8701 MB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.3609, allocations: 0 / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.583e-05/0.3609, allocations: 7.922 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.361, allocations: 7.875 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.3612, allocations: 43.94 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3614, allocations: 91.77 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3615, allocations: 19.98 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3616, allocations: 35.91 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3617, allocations: 43.83 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.3617, allocations: 8 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.3618, allocations: 8 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3619, allocations: 31.83 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.362, allocations: 31.8 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.3621, allocations: 87.66 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3621, allocations: 3.938 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3621, allocations: 8 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3621, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 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.0007977/0.3629, allocations: 399.1 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.363, allocations: 8.031 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.363, allocations: 8.891 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3632, allocations: 176.3 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3632, allocations: 4.375 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3632, allocations: 4.375 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.3636, allocations: 113.5 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3636, allocations: 0 / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3636, allocations: 4 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3636, allocations: 3.938 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.364, allocations: 91.91 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.3646, allocations: 356.6 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.3653, allocations: 110.6 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.3655, allocations: 61.81 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3655, allocations: 4 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.3655, allocations: 30.56 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.3655, allocations: 3.938 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006811/0.3662, allocations: 189.5 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.3664, allocations: 51.41 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3665, allocations: 121.8 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3665, allocations: 25.7 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3666, allocations: 100.1 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.3666, allocations: 15.8 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.3667, allocations: 33.64 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3669, allocations: 318.8 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3671, allocations: 43.95 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3673, allocations: 47.95 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.3676, allocations: 93.19 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3676, allocations: 8 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004155/0.368, allocations: 141.5 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.368, allocations: 4 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.368, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.3681, allocations: 4 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3682, allocations: 19.97 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3683, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3684, allocations: 15.92 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3684, allocations: 7.984 kB / 1.221 GB, free: 10.44 MB / 0.9669 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 0.0001234/0.3685, allocations: 117.8 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.3685, allocations: 7.953 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3686, allocations: 8.375 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3686, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3686, allocations: 4 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3686, allocations: 7.938 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.3689, allocations: 197.6 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3689, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.369, allocations: 27.97 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.369, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.369, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.369, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.369, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.3695, allocations: 239.3 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.3696, allocations: 96.92 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.3696, allocations: 0 / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3697, allocations: 15.98 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3698, allocations: 27.91 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3698, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.971e-05/0.3699, allocations: 103.2 kB / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3699, allocations: 0 / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002273/0.3701, allocations: 16 kB / 1.222 GB, free: 9.496 MB / 0.9669 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.0001692/0.3703, allocations: 95.25 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.3708, allocations: 107.9 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3708, allocations: 7.938 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.371, allocations: 55.95 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3713, allocations: 8 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.3718, allocations: 186.1 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3722, allocations: 0.7023 MB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.626e-05/0.3723, allocations: 4 kB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.3724, allocations: 27.42 kB / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of SimCode: time 1.082e-06/0.3724, allocations: 0 / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of Templates: time 0.004967/0.3773, allocations: 1.616 MB / 1.224 GB, free: 6.641 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.633107955567539]