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.001939/0.001939, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001951/0.001951, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.809 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.652/3.652, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.002251/0.002251, allocations: 72.27 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4398, allocations: 181.9 MB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002618/0.4424, allocations: 0.764 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.444, allocations: 0.8821 MB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.4441, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.4441, allocations: 3.938 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.4442, allocations: 23.8 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.4444, allocations: 39.91 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.4446, allocations: 83.81 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4447, allocations: 19.98 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4448, allocations: 35.91 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4449, allocations: 55.69 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.445, allocations: 8 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.445, allocations: 8 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.445, allocations: 15.98 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.4451, allocations: 31.84 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.4453, allocations: 91.59 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4453, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4453, allocations: 4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.4453, allocations: 0 / 1.366 GB, free: 11.58 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.0007388/0.446, allocations: 322 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.446, allocations: 8.031 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.4461, allocations: 8.891 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.4463, allocations: 126.4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.4463, allocations: 384 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.4463, allocations: 8.375 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.4466, allocations: 109.5 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4466, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4467, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.4467, allocations: 4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.447, allocations: 99.89 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.4476, allocations: 268.3 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006904/0.4483, allocations: 122.5 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.4485, allocations: 56.8 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4485, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.4485, allocations: 38.5 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.4485, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006809/0.4492, allocations: 181.5 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.4493, allocations: 55.41 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4494, allocations: 113.8 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4494, allocations: 29.7 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.4495, allocations: 96.08 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.4496, allocations: 23.78 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.4496, allocations: 29.7 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4498, allocations: 322.8 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.45, allocations: 43.95 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.4502, allocations: 47.95 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.4505, allocations: 92.72 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4505, allocations: 11.94 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004178/0.4509, allocations: 133.5 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.451, allocations: 4 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.451, allocations: 0 / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.451, allocations: 4 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4511, allocations: 19.97 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4511, allocations: 0 / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.4513, allocations: 15.98 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.4513, allocations: 15.92 kB / 1.368 GB, free: 9.043 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.0001175/0.4514, allocations: 117.8 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.4514, allocations: 7.953 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.4515, allocations: 8.375 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4515, allocations: 0 / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4515, allocations: 3.938 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4515, allocations: 4 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.4517, allocations: 137.2 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4517, allocations: 4 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.4518, allocations: 23.97 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4518, allocations: 4 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4518, allocations: 3.984 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4519, allocations: 0 / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4519, allocations: 0 / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.4523, allocations: 239.3 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.4524, allocations: 11.89 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4524, allocations: 0 / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.4525, allocations: 15.98 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.4526, allocations: 19.97 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4526, allocations: 7.984 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.904e-05/0.4527, allocations: 95.27 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4527, allocations: 0 / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002354/0.4529, allocations: 12 kB / 1.369 GB, free: 8.281 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.0001599/0.4531, allocations: 103.2 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.4536, allocations: 104.5 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4536, allocations: 0 / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4538, allocations: 67.92 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.4542, allocations: 12 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.4547, allocations: 172.7 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.787e-05/0.4548, allocations: 71.33 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.475e-05/0.4548, allocations: 15.98 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.4549, allocations: 23.36 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4549, allocations: 0 / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of Templates: time 0.00518/0.4601, allocations: 1.741 MB / 1.371 GB, free: 5.957 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/jenkins/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: 10.014357263222337]