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.001062/0.001062, allocations: 113.4 kB / 16.41 MB, free: 6.492 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.001027/0.001027, allocations: 183 kB / 17.34 MB, free: 5.762 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.32/1.32, allocations: 222.9 MB / 241 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.52/2.52, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 1.055 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.6887, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001815/0.6905, allocations: 0.8206 MB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008731/0.6914, allocations: 0.8741 MB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.6915, allocations: 4 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.6916, allocations: 11.86 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.139e-05/0.6917, allocations: 7.875 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.6918, allocations: 31.91 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.692, allocations: 75.78 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.6921, allocations: 27.97 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.722e-05/0.6922, allocations: 35.8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.6923, allocations: 35.84 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.6923, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.6923, allocations: 8 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.6923, allocations: 7.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.6924, allocations: 39.78 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.6925, allocations: 71.75 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6925, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6925, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.6925, allocations: 0 / 1.21 GB, free: 11.55 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.0004986/0.693, allocations: 392.8 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.6931, allocations: 15.95 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.6931, allocations: 8.844 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.6933, allocations: 204 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.6933, allocations: 4.375 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.6934, allocations: 4.375 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.6935, allocations: 62.23 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.6935, allocations: 8.125 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.6935, allocations: 3.938 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.6936, allocations: 3.984 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.6937, allocations: 39.91 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.6941, allocations: 304.8 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.6943, allocations: 58.58 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.6943, allocations: 16.92 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.6943, allocations: 0 / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.6944, allocations: 34.64 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.6944, allocations: 0 / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002351/0.6946, allocations: 77.52 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.6946, allocations: 59.41 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.6947, allocations: 135.6 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.6948, allocations: 25.7 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.6948, allocations: 96.12 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.6948, allocations: 11.89 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.6949, allocations: 17.72 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.695, allocations: 322.8 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.695, allocations: 19.98 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.6951, allocations: 12 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.6952, allocations: 28.84 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6952, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.6953, allocations: 69.52 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6953, allocations: 8 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6953, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.6953, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.6954, allocations: 11.98 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6954, allocations: 4 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.6955, allocations: 15.92 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.6955, allocations: 4 kB / 1.212 GB, free: 9.293 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 7.694e-05/0.6956, allocations: 121.7 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.6956, allocations: 3.906 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.6957, allocations: 12.25 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6957, allocations: 0 / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6957, allocations: 4 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6957, allocations: 0 / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.6959, allocations: 181.5 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6959, allocations: 7.984 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.6959, allocations: 4 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6959, allocations: 4 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.6959, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6959, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.696, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.6961, allocations: 171.6 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.6962, allocations: 81.02 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.6962, allocations: 7.984 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.6963, allocations: 4 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.6963, allocations: 11.98 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.6964, allocations: 3.984 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.162e-05/0.6964, allocations: 101 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6964, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002185/0.6966, allocations: 19.94 kB / 1.213 GB, free: 8.469 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.000122/0.6968, allocations: 99.25 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.6969, allocations: 39.91 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6969, allocations: 0 / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.697, allocations: 12 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.6973, allocations: 15.97 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.6976, allocations: 200.1 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.6978, allocations: 0.6924 MB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.6979, allocations: 11.44 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.6979, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of Templates: time 0.002045/0.6999, allocations: 0.9779 MB / 1.215 GB, free: 6.367 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/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