Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 106.9 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.001554/0.001554, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.538/2.538, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 70.33 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2989, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001969/0.3009, allocations: 0.8584 MB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3019, allocations: 0.8779 MB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.302, allocations: 8 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.3021, allocations: 11.88 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.3022, allocations: 3.938 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.3023, allocations: 27.97 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3024, allocations: 67.8 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3026, allocations: 35.97 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.3027, allocations: 31.86 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.3027, allocations: 27.84 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3027, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.3028, allocations: 8 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.3028, allocations: 11.94 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.3028, allocations: 35.78 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.096e-05/0.3029, allocations: 52.17 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.3029, allocations: 8 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.253e-06/0.303, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.303, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005133/0.3035, allocations: 387.1 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3035, allocations: 12.56 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.3036, allocations: 8.844 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3038, allocations: 202.2 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3038, allocations: 4.375 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3038, allocations: 8.375 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.304, allocations: 62.22 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.304, allocations: 192 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.304, allocations: 7.938 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.304, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3041, allocations: 43.84 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.3046, allocations: 320.7 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3048, allocations: 50.59 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.3048, allocations: 25 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3048, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3049, allocations: 34.56 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.3049, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002322/0.3051, allocations: 73.52 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.3052, allocations: 55.41 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3053, allocations: 129.8 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3053, allocations: 25.7 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.3054, allocations: 104 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.3054, allocations: 15.91 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.3054, allocations: 17.7 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3056, allocations: 318.8 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.3056, allocations: 15.98 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.3057, allocations: 15.98 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.3058, allocations: 32.84 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3058, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.3059, allocations: 69.53 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3059, allocations: 6.5 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3059, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.306, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.306, allocations: 7.984 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.306, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.3061, allocations: 7.984 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3061, allocations: 4 kB / 1.068 GB, free: 10.76 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 9.656e-05/0.3062, allocations: 127.5 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3063, allocations: 3.906 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.3063, allocations: 16.23 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3063, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3063, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3063, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3065, allocations: 181.6 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3065, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.3066, allocations: 4 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3066, allocations: 3.938 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3066, allocations: 8 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3066, allocations: 3.984 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3066, allocations: 7.922 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.3068, allocations: 159.7 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.3068, allocations: 85.05 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3069, allocations: 4 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.307, allocations: 11.98 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.307, allocations: 11.98 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.307, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.06e-05/0.3071, allocations: 103.3 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3071, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002122/0.3073, allocations: 11.94 kB / 1.069 GB, free: 9.926 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001242/0.3075, allocations: 99.25 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.3076, allocations: 43.91 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3076, allocations: 4 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.3077, allocations: 11.98 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3079, allocations: 15.94 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.3083, allocations: 218.7 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3086, allocations: 0.6923 MB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.3087, allocations: 15.44 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3087, allocations: 3.938 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of Templates: time 0.00237/0.3111, allocations: 0.9626 MB / 1.071 GB, free: 7.805 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches