Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001492/0.001499, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001442/0.001442, allocations: 197 kB / 16.91 MB, free: 6.188 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 75.42 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2771, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002022/0.2791, allocations: 0.8342 MB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.2801, allocations: 0.8663 MB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.2802, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.2802, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.2803, allocations: 3.938 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2804, allocations: 39.95 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2805, allocations: 87.83 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2807, allocations: 27.91 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.2807, allocations: 39.91 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.2808, allocations: 43.83 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2809, allocations: 8 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.2809, allocations: 8 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.2809, allocations: 23.91 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.281, allocations: 35.8 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.2e-05/0.2811, allocations: 63.86 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2811, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2811, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.2811, allocations: 0 / 1.066 GB, free: 13.01 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.0006436/0.2817, allocations: 399.4 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2818, allocations: 8.625 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.2818, allocations: 12.84 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.282, allocations: 176.2 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.282, allocations: 8.375 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.282, allocations: 8.375 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.2823, allocations: 109.7 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2823, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2824, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2824, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.2827, allocations: 103.8 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.2833, allocations: 340.6 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.2839, allocations: 126.5 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.2841, allocations: 48.81 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2842, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2842, allocations: 38.56 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2842, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006394/0.2848, allocations: 177.4 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.2849, allocations: 63.34 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.285, allocations: 125.8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.285, allocations: 33.62 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.2851, allocations: 92.05 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.2851, allocations: 15.75 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.2852, allocations: 25.7 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2853, allocations: 322.8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2855, allocations: 43.95 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.2857, allocations: 47.95 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.286, allocations: 88.78 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2861, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000401/0.2865, allocations: 141.5 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2865, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2865, allocations: 3.938 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2865, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2867, allocations: 23.97 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2867, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2868, allocations: 23.91 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2868, allocations: 4 kB / 1.069 GB, free: 10.22 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 9.45e-05/0.2869, allocations: 120 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.287, allocations: 3.906 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.287, allocations: 12.38 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.287, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.287, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.287, allocations: 7.922 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.2872, allocations: 201.5 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2873, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2874, allocations: 27.97 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2874, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2874, allocations: 3.984 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2875, allocations: 7.938 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2875, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.2879, allocations: 243.2 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.288, allocations: 85.02 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.288, allocations: 3.984 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.2882, allocations: 11.98 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.2882, allocations: 23.97 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2883, allocations: 3.938 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.2883, allocations: 99.27 kB / 1.069 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2883, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002204/0.2886, allocations: 12 kB / 1.07 GB, free: 9.281 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.0001181/0.2887, allocations: 99.25 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.2891, allocations: 116.4 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2891, allocations: 0 / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2893, allocations: 67.83 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2896, allocations: 13.33 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.29, allocations: 224 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2904, allocations: 0.6924 MB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.2904, allocations: 19.42 kB / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2904, allocations: 0 / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of Templates: time 0.002768/0.2932, allocations: 1.235 MB / 1.072 GB, free: 6.766 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches