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.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.001339/0.00134, allocations: 111.3 kB / 17.08 MB, free: 6.012 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.001366/0.001366, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.51/1.51, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.119/3.119, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002032/0.002032, allocations: 67.91 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9628/0.9649, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002152/0.9671, allocations: 0.7985 MB / 1.263 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.9683, allocations: 0.8627 MB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.9684, allocations: 4.344 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.9684, allocations: 5.203 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.345e-05/0.9685, allocations: 10.69 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.9687, allocations: 37.97 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.9689, allocations: 91.81 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.9691, allocations: 25.89 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.9692, allocations: 31.77 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.9693, allocations: 49.27 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.9693, allocations: 11.88 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.9693, allocations: 8.312 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.9694, allocations: 19 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.9694, allocations: 39.77 kB / 1.265 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.9696, allocations: 89.45 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9696, allocations: 1.891 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9696, allocations: 4 kB / 1.265 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9696, allocations: 0 / 1.265 GB, free: 6.648 MB / 0.9981 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.00065/0.9703, allocations: 394.8 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9703, allocations: 9.969 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.9704, allocations: 8.891 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.9705, allocations: 174.3 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.9705, allocations: 7.562 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.9706, allocations: 4.781 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.9709, allocations: 113 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9709, allocations: 0 / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.971, allocations: 4.938 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.971, allocations: 1.719 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.9714, allocations: 93.5 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.9719, allocations: 354.3 kB / 1.266 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.9726, allocations: 113.1 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.9728, allocations: 60.45 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.9729, allocations: 0.9375 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.9729, allocations: 31.95 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.9729, allocations: 0 / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0007034/0.9736, allocations: 181.6 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.9736, allocations: 52.41 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.9737, allocations: 132.3 kB / 1.266 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.9738, allocations: 26.61 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.9738, allocations: 101 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.9738, allocations: 23.64 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.9739, allocations: 24.08 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.974, allocations: 315.1 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.9742, allocations: 51.12 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.9744, allocations: 44.73 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.9747, allocations: 90.77 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9747, allocations: 4.516 kB / 1.267 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004341/0.9752, allocations: 137.6 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9752, allocations: 6.031 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9752, allocations: 0.5469 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.9752, allocations: 0.9375 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.9754, allocations: 23.14 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.9754, allocations: 4.812 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.9756, allocations: 21.55 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.9756, allocations: 2.984 kB / 1.267 GB, free: 4.707 MB / 0.9981 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 6.906e-05/0.9757, allocations: 117.5 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.9757, allocations: 6.797 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.9757, allocations: 11.52 kB / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9758, allocations: 1 kB / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9758, allocations: 4.781 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9758, allocations: 12.44 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.976, allocations: 203.4 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.976, allocations: 0 / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.9762, allocations: 26.75 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9762, allocations: 0.875 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.9762, allocations: 2.094 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9762, allocations: 0.9062 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9762, allocations: 0 / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.9767, allocations: 238.1 kB / 1.268 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.9767, allocations: 84.69 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.9767, allocations: 4.656 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.9769, allocations: 14.09 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.977, allocations: 28.73 kB / 1.268 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.977, allocations: 3.516 kB / 1.268 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.9771, allocations: 100.6 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9771, allocations: 0 / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002381/0.9773, allocations: 15.75 kB / 1.268 GB, free: 3.969 MB / 0.9981 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.0001312/0.9775, allocations: 98.09 kB / 1.268 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.978, allocations: 111.8 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.978, allocations: 3.938 kB / 1.268 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.9782, allocations: 59.12 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.9786, allocations: 8.266 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.9791, allocations: 208.7 kB / 1.268 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.9793, allocations: 0.6945 MB / 1.269 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.9793, allocations: 15.89 kB / 1.269 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.9793, allocations: 0 / 1.269 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of Templates: time 0.003687/0.983, allocations: 1.241 MB / 1.27 GB, free: 2.863 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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.414504395099357]