Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_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_latest_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.001162/0.001162, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001204/0.001204, allocations: 192.1 kB / 17.31 MB, free: 5.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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 64.02 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2996, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001981/0.3016, allocations: 0.8373 MB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.3025, allocations: 0.8624 MB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.3026, allocations: 7.938 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.3028, allocations: 15.86 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.298e-05/0.3028, allocations: 11.88 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.3029, allocations: 19.97 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3031, allocations: 79.7 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3032, allocations: 35.98 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.3033, allocations: 27.86 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.3033, allocations: 27.84 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3034, allocations: 4 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.3034, allocations: 8 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.3034, allocations: 23.86 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.3035, allocations: 27.86 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.3036, allocations: 75.69 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3036, allocations: 3.984 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3036, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3036, allocations: 4 kB / 1.029 GB, free: 15.98 MB / 0.8106 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.0005071/0.3041, allocations: 387.1 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3042, allocations: 8.031 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3042, allocations: 16.84 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3045, allocations: 196.2 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3045, allocations: 4.375 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3045, allocations: 8.375 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3047, allocations: 66.11 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3047, allocations: 192 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3047, allocations: 7.938 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3047, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3048, allocations: 39.97 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.3053, allocations: 316.6 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3055, allocations: 50.55 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.3056, allocations: 21.02 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3056, allocations: 3.938 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3056, allocations: 30.56 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3056, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002373/0.3059, allocations: 73.66 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3059, allocations: 55.41 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.306, allocations: 140.3 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.306, allocations: 25.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.3061, allocations: 108 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3061, allocations: 7.906 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.3062, allocations: 17.72 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3063, allocations: 318.8 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.3063, allocations: 12 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.3064, allocations: 24.11 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.863e-05/0.3065, allocations: 36.92 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3065, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.3066, allocations: 65.58 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3066, allocations: 8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3067, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3067, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.3067, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3068, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.3068, allocations: 11.98 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3069, allocations: 7.938 kB / 1.031 GB, free: 13.73 MB / 0.8106 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 8.549e-05/0.3069, allocations: 125.7 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.307, allocations: 3.906 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.307, allocations: 12.25 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.307, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.307, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.307, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3072, allocations: 185.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3072, allocations: 4 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.3073, allocations: 3.984 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3073, allocations: 4 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3073, allocations: 3.938 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3073, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3073, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.3075, allocations: 163.3 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3075, allocations: 81.11 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3076, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3077, allocations: 11.98 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3077, allocations: 7.984 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3077, allocations: 3.938 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.495e-05/0.3078, allocations: 111.2 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3078, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002273/0.308, allocations: 11.94 kB / 1.031 GB, free: 12.9 MB / 0.8106 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.0001323/0.3082, allocations: 103.2 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.3083, allocations: 35.98 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3083, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.3084, allocations: 19.92 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3087, allocations: 14.44 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.309, allocations: 158.7 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3093, allocations: 0.6924 MB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.3093, allocations: 12.25 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.3094, allocations: 11.44 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3094, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.003025/0.3124, allocations: 0.8456 MB / 1.033 GB, free: 10.96 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches