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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.945/2.945, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 71.89 kB / 1.107 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 168.7 MB / 1.272 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002452/1.17, allocations: 0.831 MB / 1.273 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001157/1.172, allocations: 0.875 MB / 1.274 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/1.172, allocations: 6.438 kB / 1.274 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/1.172, allocations: 15.55 kB / 1.274 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/1.172, allocations: 14 kB / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/1.172, allocations: 27.39 kB / 1.274 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/1.172, allocations: 80.95 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/1.172, allocations: 23.48 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/1.172, allocations: 29.55 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/1.172, allocations: 30.33 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/1.172, allocations: 5.562 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/1.172, allocations: 6.062 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/1.173, allocations: 15.31 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/1.173, allocations: 35.55 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/1.173, allocations: 79.48 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.173, allocations: 0 / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.664e-06/1.173, allocations: 0.8125 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.173, allocations: 0 / 1.274 GB, free: 6.727 MB / 0.9981 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.000537/1.173, allocations: 388.2 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.173, allocations: 11.84 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/1.173, allocations: 8.609 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/1.174, allocations: 201.5 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/1.174, allocations: 2.469 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/1.174, allocations: 11.39 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.174, allocations: 62.09 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.174, allocations: 1.312 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/1.174, allocations: 7.938 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/1.174, allocations: 4.969 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/1.174, allocations: 38.5 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/1.174, allocations: 322.3 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/1.175, allocations: 48.08 kB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/1.175, allocations: 16.62 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/1.175, allocations: 5.062 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.175, allocations: 36.27 kB / 1.275 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/1.175, allocations: 0 / 1.275 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002572/1.175, allocations: 72.86 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.175, allocations: 51.41 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/1.175, allocations: 137.1 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/1.175, allocations: 25.7 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/1.175, allocations: 96.84 kB / 1.276 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/1.175, allocations: 10.64 kB / 1.276 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/1.175, allocations: 18.64 kB / 1.276 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/1.175, allocations: 323.7 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/1.175, allocations: 14.62 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/1.175, allocations: 14.56 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.099e-05/1.175, allocations: 39.58 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.175, allocations: 0.9375 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/1.176, allocations: 65.45 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.176, allocations: 5.281 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.176, allocations: 1.078 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.176, allocations: 0.9375 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/1.176, allocations: 4.328 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.176, allocations: 0.9375 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/1.176, allocations: 19.36 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.176, allocations: 4.812 kB / 1.276 GB, free: 4.879 MB / 0.9981 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.133e-05/1.176, allocations: 122.4 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/1.176, allocations: 3.219 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/1.176, allocations: 11.88 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.176, allocations: 0 / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.176, allocations: 0 / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.176, allocations: 1.328 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/1.176, allocations: 187.8 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.176, allocations: 0.7812 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/1.176, allocations: 10.97 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.176, allocations: 5.375 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/1.176, allocations: 1.562 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.176, allocations: 0 / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.176, allocations: 0.6562 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/1.176, allocations: 157 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/1.176, allocations: 82.62 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.176, allocations: 5.562 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/1.176, allocations: 13.41 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/1.177, allocations: 11.48 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/1.177, allocations: 1.375 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.954e-05/1.177, allocations: 104.3 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.177, allocations: 0.8438 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002215/1.177, allocations: 19.02 kB / 1.277 GB, free: 4.176 MB / 0.9981 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.000165/1.177, allocations: 105.5 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001841/1.177, allocations: 33.83 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.177, allocations: 0 / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/1.177, allocations: 19.39 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/1.177, allocations: 12.59 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/1.178, allocations: 184.9 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/1.178, allocations: 0.6931 MB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.002e-05/1.178, allocations: 5.156 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/1.178, allocations: 11.16 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.178, allocations: 0 / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of Templates: time 0.003977/1.182, allocations: 0.8733 MB / 1.279 GB, free: 3.117 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.884331908077002]