Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001398/0.001398, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001484/0.001484, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.812/2.812, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002065/0.002065, allocations: 59.91 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001967/1.008, allocations: 0.7849 MB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009312/1.009, allocations: 0.9073 MB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/1.009, allocations: 2.469 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/1.009, allocations: 18.23 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/1.009, allocations: 7.938 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/1.009, allocations: 31.62 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000128/1.009, allocations: 77.53 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/1.01, allocations: 23.09 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/1.01, allocations: 41.52 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/1.01, allocations: 32.7 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/1.01, allocations: 5.531 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.295e-05/1.01, allocations: 7.656 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/1.01, allocations: 17.72 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/1.01, allocations: 20.56 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/1.01, allocations: 88.45 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.01, allocations: 3.938 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.01, allocations: 0 / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.01, allocations: 0 / 1.156 GB, free: 31.97 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.0004888/1.011, allocations: 319.1 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.011, allocations: 9.781 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/1.011, allocations: 20.05 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/1.011, allocations: 144.5 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/1.011, allocations: 4.375 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/1.011, allocations: 2.938 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/1.011, allocations: 72.77 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.011, allocations: 2.938 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.011, allocations: 7.938 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.011, allocations: 0 / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/1.011, allocations: 34.5 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/1.012, allocations: 251.8 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/1.012, allocations: 46.31 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/1.012, allocations: 14.52 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/1.012, allocations: 10.19 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/1.012, allocations: 30.66 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/1.012, allocations: 3.938 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002298/1.012, allocations: 70.38 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/1.012, allocations: 54.69 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/1.012, allocations: 133.1 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/1.012, allocations: 29.7 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/1.012, allocations: 101.2 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/1.012, allocations: 7.891 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/1.012, allocations: 22.84 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/1.012, allocations: 322.8 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/1.012, allocations: 16.22 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/1.012, allocations: 16.08 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.595e-05/1.013, allocations: 30.64 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.013, allocations: 0 / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/1.013, allocations: 66.72 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.013, allocations: 5.469 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/1.013, allocations: 3.938 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/1.013, allocations: 3.938 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/1.013, allocations: 10.17 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.013, allocations: 3.984 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/1.013, allocations: 12.02 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/1.013, allocations: 0 / 1.158 GB, free: 30.36 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 6.116e-05/1.013, allocations: 116.6 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/1.013, allocations: 13.02 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/1.013, allocations: 12.28 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/1.013, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.013, allocations: 2.406 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.013, allocations: 4 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/1.013, allocations: 126.4 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.013, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/1.013, allocations: 9.25 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.013, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/1.013, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.013, allocations: 4 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.013, allocations: 2.969 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/1.013, allocations: 161.8 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/1.013, allocations: 9.797 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.013, allocations: 4 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/1.013, allocations: 9.062 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/1.013, allocations: 12.69 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/1.013, allocations: 0 / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.92e-05/1.014, allocations: 111.6 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.014, allocations: 0 / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002164/1.014, allocations: 5.875 kB / 1.158 GB, free: 29.82 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.888e-05/1.014, allocations: 97.34 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001421/1.014, allocations: 38.05 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.014, allocations: 0 / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/1.014, allocations: 15.67 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.014, allocations: 17.19 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/1.015, allocations: 172.7 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/1.015, allocations: 77.88 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.44e-05/1.015, allocations: 5.844 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/1.015, allocations: 13.53 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.015, allocations: 3.938 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of Templates: time 0.003365/1.018, allocations: 0.9064 MB / 1.16 GB, free: 29.35 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.012022541020997]