Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 105.6 kB / 15.98 MB, free: 6.289 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.001457/0.001457, allocations: 197.9 kB / 16.91 MB, free: 6.148 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.37 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.609/2.609, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.58 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2868, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001981/0.2888, allocations: 0.7721 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009857/0.2899, allocations: 0.8312 MB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.2899, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.2899, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.29, allocations: 3.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.2901, allocations: 27.97 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.2902, allocations: 47.86 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.2903, allocations: 11.98 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.2904, allocations: 19.92 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.2905, allocations: 27.91 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2905, allocations: 4 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.2905, allocations: 4 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.2905, allocations: 7.984 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.2906, allocations: 27.86 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.29e-05/0.2906, allocations: 27.94 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2906, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2906, allocations: 3.938 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.2907, allocations: 0 / 1.066 GB, free: 13.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005162/0.2912, allocations: 359.7 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2912, allocations: 8.625 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.2913, allocations: 12.78 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2914, allocations: 168.4 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2914, allocations: 8.375 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2914, allocations: 384 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.2916, allocations: 69.78 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2917, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2917, allocations: 3.984 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.2917, allocations: 4 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.2919, allocations: 43.95 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.2923, allocations: 300.6 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.2925, allocations: 62.53 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.2926, allocations: 28.92 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2926, allocations: 8 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2927, allocations: 30.56 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.2927, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004062/0.2931, allocations: 113.5 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2931, allocations: 51.41 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.2932, allocations: 109.8 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2933, allocations: 29.7 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.2933, allocations: 96.11 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.2933, allocations: 3.906 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.2934, allocations: 21.7 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2935, allocations: 318.8 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-05/0.2936, allocations: 23.97 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.2937, allocations: 19.98 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2939, allocations: 60.75 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2939, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.2941, allocations: 81.97 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2942, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.2942, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2942, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2943, allocations: 11.98 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2943, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.2944, allocations: 15.89 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2944, allocations: 3.984 kB / 1.068 GB, free: 11.03 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.565e-05/0.2945, allocations: 116 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2945, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2946, allocations: 11.91 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2946, allocations: 11.86 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2946, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2946, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2948, allocations: 177.5 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2948, allocations: 4 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.2949, allocations: 11.98 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2949, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2949, allocations: 3.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2949, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2949, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.2952, allocations: 195.3 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.2953, allocations: 81.11 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2953, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2954, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.2955, allocations: 11.98 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2955, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.2955, allocations: 91.22 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2955, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002102/0.2958, allocations: 8 kB / 1.069 GB, free: 10.21 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001158/0.2959, allocations: 107.2 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.2961, allocations: 55.95 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2962, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.2963, allocations: 31.91 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2965, allocations: 13.62 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.2969, allocations: 167.2 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.2972, allocations: 0.6807 MB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.2973, allocations: 11.44 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.2973, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of Templates: time 0.002195/0.2995, allocations: 0.8207 MB / 1.07 GB, free: 8.281 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches