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 12.0.0-master/package.mo", uses=false) 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=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.00146/0.00146, allocations: 108.9 kB / 16.27 MB, free: 6.414 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.001444/0.001444, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 64.03 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7027, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001932/0.7046, allocations: 0.7789 MB / 1.084 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.7055, allocations: 0.8588 MB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.7055, allocations: 4.812 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.7055, allocations: 9.875 kB / 1.085 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.7056, allocations: 14.12 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.7058, allocations: 33.44 kB / 1.085 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.7059, allocations: 86.03 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.706, allocations: 22.31 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/0.7061, allocations: 39.84 kB / 1.085 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.7062, allocations: 53.08 kB / 1.085 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.7062, allocations: 7.688 kB / 1.085 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.7062, allocations: 7.969 kB / 1.085 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.7063, allocations: 19.16 kB / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.7063, allocations: 36.39 kB / 1.085 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.7064, allocations: 88.83 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7064, allocations: 1.312 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7064, allocations: 0 / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7065, allocations: 0 / 1.085 GB, free: 304 kB / 0.8262 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.0005878/0.707, allocations: 398.7 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7071, allocations: 10.06 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.7071, allocations: 8.688 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.7073, allocations: 179 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.7073, allocations: 3.781 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.7074, allocations: 7.938 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.7077, allocations: 109.2 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.7077, allocations: 4 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7077, allocations: 1.094 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.7077, allocations: 1.469 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.7081, allocations: 100.9 kB / 1.086 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.7086, allocations: 346.8 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.7092, allocations: 122.6 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.7095, allocations: 59.41 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.7095, allocations: 1 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.7095, allocations: 35.66 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.7095, allocations: 0 / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006709/0.7102, allocations: 182.5 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.7103, allocations: 55.41 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.7104, allocations: 120.5 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.7104, allocations: 25.7 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.7105, allocations: 97.38 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.7105, allocations: 24.52 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.7106, allocations: 22.86 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7107, allocations: 324.1 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.7109, allocations: 47.44 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.7111, allocations: 45.17 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.7115, allocations: 97.95 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7115, allocations: 4 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004074/0.7119, allocations: 130 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.7119, allocations: 6.062 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7119, allocations: 0.6562 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7119, allocations: 0 / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.7121, allocations: 27.34 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.7121, allocations: 0.6562 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.7122, allocations: 24.7 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.7123, allocations: 3.891 kB / 1.087 GB, free: 14.34 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.0001003/0.7124, allocations: 113.6 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.7124, allocations: 7.391 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.7124, allocations: 10.45 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7124, allocations: 1.734 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7125, allocations: 1.562 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7125, allocations: 8.547 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.7127, allocations: 202.2 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7127, allocations: 0 / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.7129, allocations: 23.94 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7129, allocations: 0 / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.7129, allocations: 3.031 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.7129, allocations: 0.5469 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7129, allocations: 0 / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.7134, allocations: 242.4 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.7134, allocations: 84.41 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.7135, allocations: 0.9688 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.7136, allocations: 20.72 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.7137, allocations: 21.23 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.7137, allocations: 7.453 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.19e-05/0.7138, allocations: 101.2 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7138, allocations: 0 / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002251/0.714, allocations: 16.25 kB / 1.088 GB, free: 13.62 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.0001154/0.7142, allocations: 102.2 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.7146, allocations: 108.3 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7146, allocations: 5.188 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.7148, allocations: 58.53 kB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.7151, allocations: 15.45 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.7156, allocations: 211.6 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.7159, allocations: 0.6891 MB / 1.089 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.716, allocations: 17.66 kB / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.716, allocations: 0 / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.002808/0.7188, allocations: 1.234 MB / 1.091 GB, free: 12.51 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=400 -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