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.001584/0.001584, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.001769/0.001769, allocations: 221 kB / 23 MB, free: 4.918 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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 3.287/3.287, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 68.36 kB / 1.187 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3216, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002069/0.3237, allocations: 0.763 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3248, allocations: 0.89 MB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.3249, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.3249, allocations: 3.938 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.325, allocations: 7.875 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3252, allocations: 43.88 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3254, allocations: 83.83 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3255, allocations: 19.98 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3256, allocations: 35.89 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3257, allocations: 43.78 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.3258, allocations: 12 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.045e-05/0.3258, allocations: 11.94 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.3258, allocations: 27.89 kB / 1.367 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.3259, allocations: 31.86 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.326, allocations: 87.61 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.326, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.326, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.326, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.061 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.0007536/0.3268, allocations: 322 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3268, allocations: 8.031 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.3269, allocations: 12.89 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.327, allocations: 122.4 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.3271, allocations: 8.375 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3271, allocations: 4.375 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.3274, allocations: 105.5 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3274, allocations: 0 / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3274, allocations: 4 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3275, allocations: 0 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.3278, allocations: 99.89 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.3284, allocations: 272.3 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.329, allocations: 118.6 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.3292, allocations: 52.81 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3292, allocations: 0 / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3292, allocations: 34.5 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.3292, allocations: 0 / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006822/0.3299, allocations: 181.5 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.33, allocations: 59.33 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3301, allocations: 121.8 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3301, allocations: 29.7 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.3302, allocations: 96.08 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.3302, allocations: 23.8 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.3303, allocations: 21.7 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3304, allocations: 322.8 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3306, allocations: 43.95 kB / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.3308, allocations: 51.94 kB / 1.369 GB, free: 9.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.3311, allocations: 92.72 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3311, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000432/0.3316, allocations: 137.5 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3316, allocations: 8 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3316, allocations: 0 / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3316, allocations: 0 / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3318, allocations: 23.97 kB / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3318, allocations: 4 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3319, allocations: 15.92 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3319, allocations: 7.938 kB / 1.369 GB, free: 9.02 MB / 1.061 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.0001065/0.332, allocations: 122.9 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.332, allocations: 11.95 kB / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.3321, allocations: 12.38 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3321, allocations: 0 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3321, allocations: 0 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3321, allocations: 3.984 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3323, allocations: 137.2 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3323, allocations: 0 / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.3324, allocations: 23.97 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3324, allocations: 0 / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3324, allocations: 7.938 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3324, allocations: 4 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3324, allocations: 3.984 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.3329, allocations: 231.3 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.3329, allocations: 15.88 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.333, allocations: 4 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3331, allocations: 11.98 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.3332, allocations: 19.97 kB / 1.37 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.3332, allocations: 8 kB / 1.37 GB, free: 8.355 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.3332, allocations: 95.64 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3332, allocations: 0 / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002406/0.3335, allocations: 16 kB / 1.37 GB, free: 8.246 MB / 1.061 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.0001227/0.3336, allocations: 103.2 kB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.334, allocations: 112.5 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.334, allocations: 4 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.3343, allocations: 51.95 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3346, allocations: 12.3 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.335, allocations: 192.1 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.3351, allocations: 77.05 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.3352, allocations: 19.42 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3352, allocations: 0 / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of Templates: time 0.003016/0.3382, allocations: 1.272 MB / 1.371 GB, free: 6.363 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.118628052994609]