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.001463/0.001463, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001727/0.001727, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.618/1.618, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.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 3.083/3.083, allocations: 476.7 MB / 0.7706 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.002645/0.002645, allocations: 69.3 kB / 1.118 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4729, allocations: 169.9 MB / 1.284 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002245/0.4751, allocations: 0.7248 MB / 1.285 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.4764, allocations: 0.8627 MB / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.4764, allocations: 0 / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.4765, allocations: 0 / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.4766, allocations: 7.938 kB / 1.285 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.4767, allocations: 27.91 kB / 1.285 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.4769, allocations: 47.86 kB / 1.285 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.477, allocations: 19.97 kB / 1.285 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.4771, allocations: 8 kB / 1.285 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.4772, allocations: 31.84 kB / 1.286 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.4772, allocations: 4 kB / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.4772, allocations: 4 kB / 1.286 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.4772, allocations: 19.97 kB / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.4773, allocations: 15.88 kB / 1.286 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.4774, allocations: 47.8 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.4774, allocations: 0 / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4774, allocations: 0 / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4774, allocations: 4 kB / 1.286 GB, free: 1.445 MB / 0.9825 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.0006299/0.478, allocations: 278.2 kB / 1.286 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4781, allocations: 8.031 kB / 1.286 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.4781, allocations: 8.891 kB / 1.286 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.4783, allocations: 122.4 kB / 1.286 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4783, allocations: 384 / 1.286 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.4783, allocations: 4.375 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4785, allocations: 69.59 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4786, allocations: 4 kB / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4786, allocations: 4 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.4786, allocations: 0 / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4788, allocations: 59.81 kB / 1.286 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.4794, allocations: 251.9 kB / 1.286 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.4796, allocations: 66.53 kB / 1.286 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4797, allocations: 28.92 kB / 1.286 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4797, allocations: 3.938 kB / 1.286 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.4797, allocations: 34.5 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4797, allocations: 0 / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004277/0.4802, allocations: 117.6 kB / 1.287 GB, free: 284 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4802, allocations: 51.41 kB / 1.287 GB, free: 220 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4803, allocations: 109.8 kB / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4803, allocations: 29.7 kB / 1.287 GB, free: 64 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.4804, allocations: 88.2 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.4805, allocations: 7.906 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.4805, allocations: 21.7 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.4807, allocations: 326.8 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4808, allocations: 23.97 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.422e-05/0.4809, allocations: 20.17 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.4811, allocations: 56.83 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4811, allocations: 0 / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002294/0.4813, allocations: 89.64 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4813, allocations: 8 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4813, allocations: 0 / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4813, allocations: 0 / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4815, allocations: 11.98 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4815, allocations: 0 / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.4815, allocations: 11.92 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4815, allocations: 4 kB / 1.287 GB, free: 15.38 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: 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.000107/0.4817, allocations: 121.7 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.4817, allocations: 11.95 kB / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.4817, allocations: 4 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4817, allocations: 3.984 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4817, allocations: 0 / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4817, allocations: 0 / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.4819, allocations: 152.6 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4819, allocations: 0 / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.482, allocations: 11.98 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.482, allocations: 0 / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.482, allocations: 7.984 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.482, allocations: 0 / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.482, allocations: 4 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.4824, allocations: 179.4 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.4824, allocations: 3.953 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4824, allocations: 0 / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4825, allocations: 15.98 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.4826, allocations: 11.92 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.4826, allocations: 4 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.4827, allocations: 91.2 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4827, allocations: 0 / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002204/0.4829, allocations: 11.94 kB / 1.288 GB, free: 14.68 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 (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.0001365/0.483, allocations: 99.25 kB / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.4833, allocations: 51.95 kB / 1.288 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4833, allocations: 0 / 1.288 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4834, allocations: 35.91 kB / 1.288 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4837, allocations: 4 kB / 1.288 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.4842, allocations: 125.6 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.4845, allocations: 0.6807 MB / 1.289 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.4846, allocations: 8 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.4846, allocations: 15.7 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4846, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of Templates: time 0.003991/0.4886, allocations: 0.9127 MB / 1.29 GB, free: 12.71 MB / 0.9981 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 -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/jenkins/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: 10.027426292188466]