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.001485/0.001486, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.001517/0.001518, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.542/1.542, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 67.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0029/1.049, allocations: 0.771 MB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001345/1.05, allocations: 0.8662 MB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/1.05, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.842e-05/1.05, allocations: 3.938 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/1.051, allocations: 11.86 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/1.051, allocations: 43.88 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000148/1.051, allocations: 83.83 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/1.051, allocations: 27.98 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/1.051, allocations: 39.84 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/1.051, allocations: 51.77 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/1.051, allocations: 8 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/1.051, allocations: 8 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/1.051, allocations: 19.91 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/1.051, allocations: 35.84 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/1.052, allocations: 87.66 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/1.052, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/1.052, allocations: 4 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.052, allocations: 0 / 1.21 GB, free: 11.6 MB / 0.9356 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.0007363/1.052, allocations: 389 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.052, allocations: 8.031 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/1.053, allocations: 8.844 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/1.053, allocations: 184.2 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/1.053, allocations: 384 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/1.053, allocations: 12.38 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/1.053, allocations: 109.5 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.053, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/1.053, allocations: 3.984 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.053, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/1.054, allocations: 95.91 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/1.054, allocations: 348.5 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/1.055, allocations: 118.6 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/1.055, allocations: 56.81 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/1.055, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/1.055, allocations: 38.5 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/1.055, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006899/1.056, allocations: 181.5 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/1.056, allocations: 55.39 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.056, allocations: 125.8 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/1.056, allocations: 25.7 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/1.056, allocations: 99.98 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/1.056, allocations: 15.75 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/1.056, allocations: 25.7 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.056, allocations: 330.7 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.056, allocations: 43.94 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/1.057, allocations: 47.95 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/1.057, allocations: 92.72 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.057, allocations: 4 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004186/1.057, allocations: 133.5 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.057, allocations: 4 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.057, allocations: 4 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.058, allocations: 0 / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.058, allocations: 19.97 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.058, allocations: 12 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/1.058, allocations: 19.92 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.058, allocations: 3.984 kB / 1.213 GB, free: 8.816 MB / 0.9356 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.0001215/1.058, allocations: 119.3 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/1.058, allocations: 7.906 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/1.058, allocations: 8.375 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.058, allocations: 0 / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.058, allocations: 0 / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/1.058, allocations: 92.95 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.058, allocations: 3.984 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.058, allocations: 11.98 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/1.058, allocations: 19.98 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005782/1.059, allocations: 228.8 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005319/1.06, allocations: 315.1 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002108/1.06, allocations: 71.92 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.721e-05/1.06, allocations: 99.7 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of Backend: time 7.02e-07/1.06, allocations: 0 / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005713/1.06, allocations: 130.7 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007517/1.061, allocations: 0.6118 MB / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of Templates: time 0.005001/1.066, allocations: 1.804 MB / 1.216 GB, free: 5.223 MB / 0.9356 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