Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007787/0.007787, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.001351/0.001351, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7105 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 71.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275/1.276, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002474/1.279, allocations: 0.781 MB / 1.167 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001166/1.28, allocations: 0.8725 MB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/1.28, allocations: 0 / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/1.28, allocations: 3.938 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/1.28, allocations: 19.86 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/1.28, allocations: 35.94 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/1.28, allocations: 87.77 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/1.28, allocations: 23.98 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/1.281, allocations: 35.84 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/1.281, allocations: 51.83 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/1.281, allocations: 8 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/1.281, allocations: 8 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/1.281, allocations: 27.89 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/1.281, allocations: 27.86 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/1.281, allocations: 91.11 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.281, allocations: 8 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.174e-06/1.281, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.281, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 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.000734/1.282, allocations: 396.1 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.282, allocations: 8.031 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/1.282, allocations: 12.89 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.282, allocations: 176.2 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/1.282, allocations: 8.375 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/1.282, allocations: 4.375 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/1.282, allocations: 114.9 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.282, allocations: 11.92 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.282, allocations: 4 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/1.282, allocations: 0 / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/1.283, allocations: 91.91 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/1.283, allocations: 348.6 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/1.284, allocations: 118.6 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/1.284, allocations: 52.81 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/1.284, allocations: 4 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/1.284, allocations: 34.56 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.284, allocations: 0 / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.000642/1.285, allocations: 189.4 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.285, allocations: 51.41 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.285, allocations: 129.7 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/1.285, allocations: 29.7 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/1.285, allocations: 100 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/1.285, allocations: 15.86 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/1.285, allocations: 25.7 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.285, allocations: 318.8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.286, allocations: 43.95 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/1.286, allocations: 47.95 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/1.286, allocations: 89.25 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.286, allocations: 4 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003996/1.287, allocations: 149.5 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.287, allocations: 6.344 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.287, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.287, allocations: 4 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/1.287, allocations: 19.97 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.287, allocations: 0 / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.287, allocations: 19.86 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.287, allocations: 7.984 kB / 1.171 GB, free: 14.98 MB / 0.9044 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.0001039/1.287, allocations: 117.8 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/1.287, allocations: 7.953 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/1.287, allocations: 12.38 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.287, allocations: 3.938 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.287, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.287, allocations: 3.938 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/1.287, allocations: 197.6 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.287, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.288, allocations: 27.97 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.288, allocations: 3.984 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/1.288, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.288, allocations: 3.938 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.288, allocations: 3.938 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/1.288, allocations: 239.3 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/1.288, allocations: 89.05 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/1.288, allocations: 4 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/1.288, allocations: 11.98 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.288, allocations: 31.84 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.288, allocations: 0 / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.585e-05/1.289, allocations: 95.27 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.289, allocations: 0 / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002316/1.289, allocations: 16 kB / 1.172 GB, free: 14.04 MB / 0.9044 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.0001539/1.289, allocations: 99.25 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004274/1.289, allocations: 107.9 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.289, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/1.29, allocations: 67.89 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/1.29, allocations: 5.719 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/1.29, allocations: 170.1 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/1.291, allocations: 0.6924 MB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.415e-05/1.291, allocations: 8 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/1.291, allocations: 23.42 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.291, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.004317/1.295, allocations: 1.598 MB / 1.175 GB, free: 11.22 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches