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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.007/3.007, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 0 / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.917e-05, allocations: 2.281 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001999/0.002038, allocations: 0.8113 MB / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003375, allocations: 0.9093 MB / 1.002 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003476, allocations: 7.938 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.003628, allocations: 7.875 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.003675, allocations: 11.86 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.003932, allocations: 39.91 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.004091, allocations: 71.72 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.004242, allocations: 27.91 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.004431, allocations: 43.91 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.004537, allocations: 27.89 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.004562, allocations: 8 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.004608, allocations: 4 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.004632, allocations: 15.92 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.004665, allocations: 12 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.004844, allocations: 95.59 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.004848, allocations: 0 / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004849, allocations: 4 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.004855, allocations: 0 / 1.002 GB, free: 5.145 MB / 0.9512 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.0006751/0.00553, allocations: 314 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.00558, allocations: 8.031 kB / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.005783, allocations: 16.88 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.006077, allocations: 145.6 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.006089, allocations: 4.375 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.006103, allocations: 4.375 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.006293, allocations: 70.11 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.006305, allocations: 192 / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.006316, allocations: 384 / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006322, allocations: 384 / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.006441, allocations: 39.91 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.006954, allocations: 252.4 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.007132, allocations: 46.56 kB / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.007208, allocations: 24.94 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.007221, allocations: 0 / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.007254, allocations: 34.56 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.007255, allocations: 0 / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002801/0.007535, allocations: 73.66 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.007593, allocations: 55.41 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.007737, allocations: 136.2 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.007763, allocations: 33.69 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.007838, allocations: 100 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.007863, allocations: 3.953 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.007907, allocations: 25.7 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.008073, allocations: 314.8 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.00813, allocations: 15.98 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.008178, allocations: 16.17 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.008276, allocations: 32.92 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.008277, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001606/0.008438, allocations: 73.52 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.008458, allocations: 11.98 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008464, allocations: 3.938 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.008479, allocations: 0 / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.008548, allocations: 4 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.008553, allocations: 0 / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.008627, allocations: 7.984 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.00864, allocations: 8 kB / 1.004 GB, free: 3.133 MB / 0.9512 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 0.00011/0.00875, allocations: 114.4 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.008781, allocations: 15.89 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.008817, allocations: 8.328 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008819, allocations: 0 / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.008827, allocations: 4 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008829, allocations: 0 / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.008998, allocations: 125.3 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008999, allocations: 0 / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.009046, allocations: 11.88 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009047, allocations: 0 / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.009056, allocations: 3.938 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.009058, allocations: 4 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009059, allocations: 4 kB / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.009266, allocations: 155.5 kB / 1.004 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.009283, allocations: 11.89 kB / 1.004 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.009305, allocations: 3.984 kB / 1.004 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.009406, allocations: 7.984 kB / 1.004 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.009456, allocations: 7.984 kB / 1.004 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.009462, allocations: 4 kB / 1.004 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.363e-05/0.009546, allocations: 105 kB / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.009546, allocations: 0 / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002398/0.009786, allocations: 16 kB / 1.005 GB, free: 2.48 MB / 0.9512 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.0001489/0.009935, allocations: 99.19 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.01011, allocations: 35.97 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01011, allocations: 4 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.01017, allocations: 15.98 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01043, allocations: 11.94 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.01087, allocations: 168.9 kB / 1.005 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.27e-05/0.01095, allocations: 71.33 kB / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.647e-05/0.011, allocations: 7.984 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.01104, allocations: 16.44 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.01104, allocations: 0 / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of Templates: time 0.003835/0.01488, allocations: 0.9165 MB / 1.006 GB, free: 1.102 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.56417802348733]