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.001547/0.001547, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.001444/0.001444, allocations: 158.3 kB / 23.01 MB, free: 4.945 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 8.961 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 2.938/2.938, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.972/0.9742, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001889/0.9761, allocations: 0.8042 MB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.977, allocations: 0.9077 MB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.9771, allocations: 2.469 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.9772, allocations: 15.48 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.9773, allocations: 10.22 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.9775, allocations: 31.44 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.9776, allocations: 81.64 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.9777, allocations: 26.38 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.9779, allocations: 37.55 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.9779, allocations: 28.73 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.978, allocations: 6.344 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.978, allocations: 6.938 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.978, allocations: 16.98 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.9781, allocations: 23.05 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.9782, allocations: 88.53 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9782, allocations: 0 / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9782, allocations: 5.344 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.9782, allocations: 0 / 1.189 GB, free: 14.82 MB / 1.076 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.0004828/0.9787, allocations: 311.3 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.9787, allocations: 9.766 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.9789, allocations: 18.39 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.9791, allocations: 148.5 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.9791, allocations: 3.125 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.9791, allocations: 7.922 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.9793, allocations: 66.45 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9793, allocations: 192 / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9793, allocations: 5 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.9793, allocations: 1.688 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.9794, allocations: 35.83 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.9799, allocations: 252.2 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.98, allocations: 50.48 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.9801, allocations: 17.97 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.9801, allocations: 1 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.9801, allocations: 33.16 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9801, allocations: 0 / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002519/0.9804, allocations: 75.94 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.9804, allocations: 52.47 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.9805, allocations: 136.5 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.9805, allocations: 26.45 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.9806, allocations: 99.22 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.9806, allocations: 9.75 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.9806, allocations: 20.06 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.9807, allocations: 323.2 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.9807, allocations: 19.98 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.9808, allocations: 14.45 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.9808, allocations: 33.31 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.9809, allocations: 0.7812 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001383/0.981, allocations: 71.28 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.981, allocations: 5.062 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.981, allocations: 1.062 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.981, allocations: 0 / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.9811, allocations: 5.938 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.9811, allocations: 0 / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.9812, allocations: 18.25 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.9812, allocations: 1.094 kB / 1.19 GB, free: 13.21 MB / 1.076 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 5.85e-05/0.9812, allocations: 119.2 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.9813, allocations: 6.375 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.9813, allocations: 13.02 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.9813, allocations: 1.219 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.9813, allocations: 3.938 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.9813, allocations: 0 / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.9814, allocations: 127.7 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.9814, allocations: 1.031 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.9815, allocations: 4.688 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9815, allocations: 1.125 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.9815, allocations: 4.703 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.9815, allocations: 0.9688 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9815, allocations: 4 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.9816, allocations: 156.9 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.9816, allocations: 11.88 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.9817, allocations: 1.062 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.9818, allocations: 10.28 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.9818, allocations: 11.84 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.9818, allocations: 1.828 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.9819, allocations: 108.8 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9819, allocations: 3.938 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002297/0.9821, allocations: 15.48 kB / 1.191 GB, free: 12.67 MB / 1.076 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 9.344e-05/0.9822, allocations: 96.3 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.9824, allocations: 33.06 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.9824, allocations: 0 / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/0.9824, allocations: 16.53 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.9827, allocations: 16.78 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.983, allocations: 170.5 kB / 1.191 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.9831, allocations: 77.41 kB / 1.191 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.9831, allocations: 4.672 kB / 1.191 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.9831, allocations: 13.34 kB / 1.191 GB, free: 12.34 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9831, allocations: 0 / 1.191 GB, free: 12.34 MB / 1.076 GB Notification: Performance of Templates: time 0.003726/0.9868, allocations: 0.9139 MB / 1.192 GB, free: 12.22 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.162525911000557]