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.008155/0.008155, allocations: 105 kB / 15.74 MB, free: 6.066 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.001405/0.001405, allocations: 195.1 kB / 16.68 MB, free: 5.977 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 75.83 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3869, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002192/0.3891, allocations: 0.8246 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3903, allocations: 0.874 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3904, allocations: 3.938 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3906, allocations: 11.88 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.285e-05/0.3906, allocations: 11.88 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3908, allocations: 23.97 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.391, allocations: 83.75 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3911, allocations: 23.92 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.3912, allocations: 27.92 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.3913, allocations: 35.83 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.3913, allocations: 4 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.3913, allocations: 8 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.3913, allocations: 11.92 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3914, allocations: 31.81 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.3915, allocations: 75.61 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3915, allocations: 3.938 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3915, allocations: 0 / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.3915, allocations: 4 kB / 1.223 GB, free: 11.7 MB / 0.9825 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.0005735/0.3921, allocations: 399 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3921, allocations: 8.031 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.3922, allocations: 8.891 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3924, allocations: 198.1 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3925, allocations: 8.375 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3925, allocations: 8.375 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3926, allocations: 70.16 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3926, allocations: 192 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3926, allocations: 3.938 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3926, allocations: 3.984 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3928, allocations: 31.98 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.3933, allocations: 328.6 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.3934, allocations: 42.62 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.3935, allocations: 20.94 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3935, allocations: 3.938 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.3935, allocations: 38.59 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3935, allocations: 4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000261/0.3938, allocations: 65.67 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3938, allocations: 51.41 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.394, allocations: 137.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.394, allocations: 29.7 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.3941, allocations: 96.12 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.3941, allocations: 3.953 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3941, allocations: 21.7 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3943, allocations: 326.8 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.3943, allocations: 15.98 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/0.3944, allocations: 15.98 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.3945, allocations: 28.78 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3945, allocations: 0 / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.3946, allocations: 65.64 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3946, allocations: 6.188 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3946, allocations: 4 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3946, allocations: 0 / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.3947, allocations: 11.92 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3947, allocations: 0 / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.3948, allocations: 11.98 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3948, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 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.717e-05/0.3949, allocations: 126.2 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3949, allocations: 7.953 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.395, allocations: 20.23 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.395, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.395, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.395, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.3952, allocations: 181.6 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3952, allocations: 0 / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.3952, allocations: 4 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3952, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3952, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3952, allocations: 7.984 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3952, allocations: 4 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.3954, allocations: 167.8 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.3955, allocations: 85.09 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3955, allocations: 4 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3956, allocations: 11.98 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.3956, allocations: 11.92 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3956, allocations: 0 / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.3957, allocations: 115.1 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3957, allocations: 0 / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002157/0.3959, allocations: 7.938 kB / 1.225 GB, free: 8.617 MB / 0.9825 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.0001731/0.3961, allocations: 109.8 kB / 1.225 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.3962, allocations: 31.97 kB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3962, allocations: 0 / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.3963, allocations: 19.98 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.3965, allocations: 11.94 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.3969, allocations: 174.4 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3972, allocations: 0.6885 MB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.3972, allocations: 8 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.3972, allocations: 15.42 kB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3972, allocations: 0 / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of Templates: time 0.003142/0.4004, allocations: 0.8546 MB / 1.227 GB, free: 6.66 MB / 0.9825 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=480 -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/jenkins/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