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.0009571/0.0009571, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006455/0.006455, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.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.709/2.709, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003964, allocations: 12 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.7991, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001304/0.8004, allocations: 0.4969 MB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.8015, allocations: 0.8585 MB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.8015, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.8016, allocations: 3.938 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.8017, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.8019, allocations: 39.95 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.802, allocations: 79.77 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.8021, allocations: 27.97 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.8022, allocations: 39.83 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.8023, allocations: 35.84 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.8024, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.8024, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.8024, allocations: 15.91 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.8025, allocations: 57.55 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.8026, allocations: 79.66 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8026, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8026, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.8026, allocations: 3.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 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.000739/0.8034, allocations: 385.3 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8034, allocations: 8.031 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.8035, allocations: 12.84 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.8037, allocations: 184.2 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.8037, allocations: 384 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.8037, allocations: 8.375 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.8041, allocations: 113.7 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.8041, allocations: 8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.8041, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.8041, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.8045, allocations: 127.9 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.805, allocations: 348.5 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.8057, allocations: 134.6 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.8059, allocations: 68.75 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.8059, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.806, allocations: 38.56 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.806, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000723/0.8067, allocations: 205.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.8067, allocations: 63.38 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.8069, allocations: 122.2 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.8069, allocations: 25.7 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.8069, allocations: 99.97 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.807, allocations: 15.75 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.807, allocations: 17.72 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8072, allocations: 322.8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.8074, allocations: 59.89 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.8076, allocations: 64.25 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.8079, allocations: 116.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.808, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004443/0.8084, allocations: 157.5 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8084, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8084, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8085, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.8086, allocations: 35.91 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8086, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.8088, allocations: 27.91 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.8088, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 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.0001013/0.8089, allocations: 114.4 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.8089, allocations: 11.91 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.809, allocations: 12.38 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.809, allocations: 3.984 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.809, allocations: 3.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.809, allocations: 7.938 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.8092, allocations: 197.5 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8092, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.8094, allocations: 31.97 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8094, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.8094, allocations: 7.984 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8094, allocations: 4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8094, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.8099, allocations: 251.3 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.81, allocations: 85.02 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.81, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.8101, allocations: 19.98 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.8102, allocations: 23.97 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.8103, allocations: 11.92 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.8103, allocations: 99.27 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8103, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002416/0.8106, allocations: 15.94 kB / 1.028 GB, free: 10.18 MB / 0.7794 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.0001286/0.8107, allocations: 103.2 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.8112, allocations: 131.8 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8112, allocations: 0 / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.8114, allocations: 75.94 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.8118, allocations: 8 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.8124, allocations: 201.3 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.8127, allocations: 0.6887 MB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.623e-05/0.8128, allocations: 15.94 kB / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.8129, allocations: 19.42 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8129, allocations: 0 / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.004283/0.8172, allocations: 1.346 MB / 1.031 GB, free: 7.547 MB / 0.7794 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