Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001768/0.001768, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002585/0.002585, allocations: 157.3 kB / 23.01 MB, free: 4.605 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.589/1.589, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.00241/0.00241, allocations: 59.91 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3145, allocations: 169.9 MB / 1.117 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002399/0.3169, allocations: 0.698 MB / 1.118 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3183, allocations: 0.8471 MB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.3183, allocations: 0 / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.3184, allocations: 3.938 kB / 1.119 GB, free: 1.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.749e-05/0.3184, allocations: 11.92 kB / 1.119 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.3186, allocations: 23.98 kB / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3187, allocations: 43.84 kB / 1.119 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3189, allocations: 15.92 kB / 1.119 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-05/0.3189, allocations: 23.92 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.319, allocations: 27.91 kB / 1.119 GB, free: 0.875 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.319, allocations: 7.938 kB / 1.119 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.319, allocations: 4 kB / 1.119 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.3191, allocations: 8 kB / 1.119 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.3191, allocations: 19.91 kB / 1.119 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3192, allocations: 43.81 kB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3192, allocations: 0 / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3192, allocations: 0 / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3192, allocations: 0 / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006289/0.3199, allocations: 282.2 kB / 1.119 GB, free: 500 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3199, allocations: 16.03 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.3199, allocations: 0.9375 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3201, allocations: 122.4 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3201, allocations: 4.375 kB / 1.12 GB, free: 332 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3201, allocations: 384 / 1.12 GB, free: 332 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.3204, allocations: 77.47 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3204, allocations: 0 / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3204, allocations: 4 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3204, allocations: 0 / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.3207, allocations: 51.95 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.3213, allocations: 224.5 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.3215, allocations: 66.48 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.3217, allocations: 32.91 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3217, allocations: 0 / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3217, allocations: 34.56 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3217, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0005657/0.3223, allocations: 109.8 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3224, allocations: 51.41 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3225, allocations: 121.7 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3225, allocations: 29.7 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.3226, allocations: 84.12 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3226, allocations: 19.84 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.3227, allocations: 13.72 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3228, allocations: 322.8 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.323, allocations: 23.98 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3231, allocations: 31.95 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.3234, allocations: 48.81 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3234, allocations: 0 / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003164/0.3237, allocations: 85.64 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3237, allocations: 4 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3237, allocations: 7.938 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3237, allocations: 0 / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.3238, allocations: 11.98 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3239, allocations: 0 / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.672e-05/0.3239, allocations: 11.98 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.324, allocations: 0 / 1.121 GB, free: 14.77 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: 2 (reaToInt.y,intGreThr.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.0001005/0.3241, allocations: 117.8 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.3241, allocations: 3.953 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.3241, allocations: 12 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3241, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3241, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3241, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3243, allocations: 121.3 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3243, allocations: 0 / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3245, allocations: 11.98 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3245, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3245, allocations: 8 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3245, allocations: 7.938 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3245, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.3249, allocations: 191.3 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.3249, allocations: 4 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3249, allocations: 3.938 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3251, allocations: 7.984 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.3251, allocations: 11.98 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3251, allocations: 0 / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.3252, allocations: 91.27 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3252, allocations: 0 / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003544/0.3256, allocations: 8 kB / 1.122 GB, free: 14.12 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001288/0.3257, allocations: 95.25 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.3261, allocations: 63.88 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3261, allocations: 0 / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.3262, allocations: 24.27 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3266, allocations: 11.92 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.3271, allocations: 133.5 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.806e-05/0.3271, allocations: 71.33 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.402e-05/0.3272, allocations: 7.984 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.3273, allocations: 12.5 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.3273, allocations: 0 / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of Templates: time 0.004647/0.3319, allocations: 0.9526 MB / 1.123 GB, free: 12.71 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.748777991975658]