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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008279/0.008279, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001499/0.001499, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 63.91 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.991/0.9924, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00238/0.9948, allocations: 0.8191 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.9964, allocations: 0.8702 MB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.9965, allocations: 7.938 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.9967, allocations: 15.86 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.9968, allocations: 11.88 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.9971, allocations: 31.84 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.9973, allocations: 67.84 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.9974, allocations: 31.97 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.9976, allocations: 35.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.9977, allocations: 27.84 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.9977, allocations: 4 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.9977, allocations: 11.94 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.9978, allocations: 11.94 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.9978, allocations: 31.78 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.998, allocations: 75.75 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.998, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.998, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.9981, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 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.0007625/0.9988, allocations: 400.8 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.9989, allocations: 8.031 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.999, allocations: 12.84 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.9994, allocations: 200 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.9994, allocations: 12.25 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.9995, allocations: 4.375 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.9997, allocations: 66.23 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.9997, allocations: 192 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.9998, allocations: 7.938 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9998, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.9999, allocations: 35.97 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/1.001, allocations: 308.7 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/1.001, allocations: 54.64 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/1.001, allocations: 20.95 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/1.001, allocations: 3.984 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.001, allocations: 30.56 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.983e-06/1.001, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003244/1.001, allocations: 73.77 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/1.001, allocations: 55.41 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/1.002, allocations: 136.2 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.002, allocations: 29.7 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/1.002, allocations: 96.12 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/1.002, allocations: 11.89 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/1.002, allocations: 17.72 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.002, allocations: 318.8 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/1.002, allocations: 27.92 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/1.002, allocations: 15.98 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/1.002, allocations: 28.84 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.002, allocations: 0 / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001593/1.002, allocations: 65.58 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.002, allocations: 8 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.002, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.002, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/1.002, allocations: 11.98 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/1.002, allocations: 3.938 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/1.003, allocations: 11.92 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/1.003, allocations: 4 kB / 1.212 GB, free: 9.316 MB / 0.9356 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.898e-05/1.003, allocations: 117.8 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/1.003, allocations: 3.906 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/1.003, allocations: 16.19 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.003, allocations: 7.938 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.003, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.003, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/1.003, allocations: 185.6 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.003, allocations: 4 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/1.003, allocations: 0 / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.003, allocations: 0 / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.003, allocations: 8 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.003, allocations: 0 / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.003, allocations: 0 / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/1.003, allocations: 167.3 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/1.003, allocations: 81.02 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/1.003, allocations: 11.98 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/1.003, allocations: 7.984 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/1.003, allocations: 4 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/1.003, allocations: 3.984 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.867e-05/1.004, allocations: 104.7 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 4 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000237/1.004, allocations: 11.94 kB / 1.212 GB, free: 8.492 MB / 0.9356 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.0001464/1.004, allocations: 103.2 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001716/1.004, allocations: 35.97 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.004, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/1.004, allocations: 15.94 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/1.005, allocations: 14.42 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/1.005, allocations: 178.4 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/1.005, allocations: 0.6924 MB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.975e-05/1.005, allocations: 3.984 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/1.005, allocations: 11.44 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.005, allocations: 4 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.003596/1.009, allocations: 0.8491 MB / 1.214 GB, free: 6.539 MB / 0.9356 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 -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/jenkins/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