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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 110.2 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 191.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 469.4 MB / 0.7423 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 63.47 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3312, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002271/0.3336, allocations: 0.8382 MB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3347, allocations: 0.8623 MB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3348, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.3348, allocations: 3.938 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.3349, allocations: 11.94 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.3351, allocations: 35.95 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3353, allocations: 83.83 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3354, allocations: 27.92 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3355, allocations: 35.91 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.3356, allocations: 51.81 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.3357, allocations: 8 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.3357, allocations: 11.94 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.3357, allocations: 19.92 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.3358, allocations: 39.78 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3359, allocations: 59.88 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3359, allocations: 3.938 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3359, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3359, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 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.0006684/0.3366, allocations: 395.5 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3367, allocations: 12.03 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3367, allocations: 8.844 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.3369, allocations: 180.2 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3369, allocations: 4.375 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3369, allocations: 4.375 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.3372, allocations: 112.6 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3372, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3373, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3373, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.3377, allocations: 99.84 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.3382, allocations: 340.7 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.3389, allocations: 122.5 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.3391, allocations: 56.88 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3391, allocations: 7.984 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3392, allocations: 34.56 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3392, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006847/0.3399, allocations: 181.4 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3399, allocations: 55.41 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.34, allocations: 121.8 kB / 1.067 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3401, allocations: 29.69 kB / 1.067 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3401, allocations: 96.05 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.3402, allocations: 15.75 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.3402, allocations: 21.7 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3404, allocations: 326.8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3405, allocations: 47.95 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.3407, allocations: 43.95 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.3411, allocations: 96.77 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3411, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004184/0.3415, allocations: 141.4 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3415, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3415, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3416, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.3417, allocations: 27.97 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3418, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.3419, allocations: 27.84 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3419, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 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.0001014/0.342, allocations: 113.8 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.3421, allocations: 7.906 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.3421, allocations: 8.375 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3421, allocations: 4 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3421, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3421, allocations: 7.922 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.3424, allocations: 193.6 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3424, allocations: 8 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3425, allocations: 27.91 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3426, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3426, allocations: 11.98 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3426, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3426, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.3431, allocations: 243.8 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.3432, allocations: 81.02 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3432, allocations: 4 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3433, allocations: 11.98 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.3434, allocations: 23.97 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3435, allocations: 7.938 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.3435, allocations: 91.27 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3435, allocations: 4 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002435/0.3438, allocations: 12 kB / 1.069 GB, free: 9.512 MB / 0.8419 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.0001478/0.3439, allocations: 107.2 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.3444, allocations: 104 kB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3444, allocations: 8 kB / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.3446, allocations: 59.89 kB / 1.069 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3449, allocations: 14.66 kB / 1.069 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.3455, allocations: 220 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3458, allocations: 0.6885 MB / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.3459, allocations: 19.42 kB / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3459, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of Templates: time 0.002978/0.3489, allocations: 1.244 MB / 1.071 GB, free: 7 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) 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) Reference file matches