Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001895/0.001895, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.002076/0.002076, allocations: 159.6 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.512/1.512, allocations: 177.2 MB / 203.4 MB, free: 8.93 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.875/2.875, allocations: 394.2 MB / 0.6386 GB, free: 11.92 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_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_latest_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.002111/0.002111, allocations: 71.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8998, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001798/0.9016, allocations: 0.7085 MB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.9025, allocations: 0.8555 MB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.9025, allocations: 1.594 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.9026, allocations: 8.594 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.9026, allocations: 5.812 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.9028, allocations: 22.64 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.9029, allocations: 48.67 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.903, allocations: 13.33 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.903, allocations: 15.55 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.9031, allocations: 29.38 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.9031, allocations: 3.344 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.9031, allocations: 4.812 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.9032, allocations: 15.44 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.9032, allocations: 12.75 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.9033, allocations: 60.22 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.9033, allocations: 0 / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9033, allocations: 0 / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.9033, allocations: 0.5625 kB / 1.188 GB, free: 15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004331/0.9037, allocations: 279.3 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.9038, allocations: 10.25 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.9038, allocations: 6.516 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.904e-05/0.9039, allocations: 108.3 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.9039, allocations: 5.688 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.9039, allocations: 6.5 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.9041, allocations: 72.11 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9041, allocations: 2.078 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.9041, allocations: 0 / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9041, allocations: 1.375 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.9043, allocations: 51.16 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.9047, allocations: 232.9 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.9049, allocations: 68.92 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.905, allocations: 27.17 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.905, allocations: 1.953 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.905, allocations: 31.91 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.905, allocations: 0 / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003998/0.9054, allocations: 105.9 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.9054, allocations: 53.17 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.9055, allocations: 111.1 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.9055, allocations: 29.64 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.9055, allocations: 91.8 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.9055, allocations: 14.62 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.9056, allocations: 19.59 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.9056, allocations: 322 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.9057, allocations: 22.45 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.9058, allocations: 23.17 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.906, allocations: 54.53 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.906, allocations: 0 / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002285/0.9062, allocations: 88.5 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.9062, allocations: 7 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.9062, allocations: 1.062 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9062, allocations: 0.5625 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.9064, allocations: 15.64 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.9064, allocations: 0.75 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.9064, allocations: 12.84 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.9065, allocations: 6.094 kB / 1.19 GB, free: 13.45 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 5.005e-05/0.9065, allocations: 117.9 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.9065, allocations: 5.25 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.9065, allocations: 6.219 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9066, allocations: 1.281 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9066, allocations: 0 / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9066, allocations: 0.7031 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.9067, allocations: 123.6 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9067, allocations: 0 / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/0.9068, allocations: 15.89 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.9068, allocations: 0.9062 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.9068, allocations: 5.766 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9068, allocations: 320 / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9068, allocations: 0.5625 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.907, allocations: 184.6 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.907, allocations: 7.344 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.9071, allocations: 4 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.9072, allocations: 12.3 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.9072, allocations: 12.3 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.9072, allocations: 1.75 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.9073, allocations: 87.91 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9073, allocations: 0 / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000223/0.9075, allocations: 15.72 kB / 1.191 GB, free: 12.92 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 7.643e-05/0.9076, allocations: 93.3 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.9078, allocations: 60.91 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9078, allocations: 0 / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.9079, allocations: 34.19 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.9082, allocations: 6.016 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.9085, allocations: 126.5 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.9085, allocations: 69.94 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.9086, allocations: 8.25 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.9086, allocations: 17.17 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9086, allocations: 0 / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of Templates: time 0.003676/0.9123, allocations: 0.945 MB / 1.192 GB, free: 12.49 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.093026129994541]