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.001556/0.001556, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001975/0.001975, allocations: 210 kB / 22.99 MB, free: 4.957 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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 3.301/3.301, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 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.002191/0.002191, allocations: 63.58 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.446, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002283/0.4483, allocations: 0.8031 MB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.4497, allocations: 0.9093 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.4498, allocations: 7.938 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.4499, allocations: 11.86 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.4499, allocations: 15.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.4502, allocations: 31.91 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.4503, allocations: 67.84 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4504, allocations: 23.98 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.4505, allocations: 43.78 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.4506, allocations: 27.86 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.4506, allocations: 7.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.149e-05/0.4507, allocations: 8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.4507, allocations: 19.92 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.4507, allocations: 15.88 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.4509, allocations: 91.55 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4509, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4509, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.4509, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 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.0005837/0.4515, allocations: 318 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.4515, allocations: 12.03 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.4517, allocations: 16.88 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.452, allocations: 146.3 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.452, allocations: 8.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.452, allocations: 4.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.4521, allocations: 58.23 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4521, allocations: 4.188 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.4522, allocations: 7.938 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4522, allocations: 3.984 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.4523, allocations: 39.91 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.4528, allocations: 252.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.4529, allocations: 46.59 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.453, allocations: 25 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.453, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.4531, allocations: 34.56 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4531, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002743/0.4533, allocations: 69.62 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.4534, allocations: 55.34 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4535, allocations: 139.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4535, allocations: 29.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.4536, allocations: 100.1 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.4536, allocations: 7.938 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.4537, allocations: 29.64 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4538, allocations: 318.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.4539, allocations: 15.98 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.4539, allocations: 19.98 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/0.454, allocations: 24.84 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.454, allocations: 7.938 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001348/0.4541, allocations: 61.64 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4542, allocations: 7.984 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4542, allocations: 11.94 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4542, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.4542, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4542, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.4543, allocations: 7.984 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4543, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 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 0.0001031/0.4544, allocations: 118.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.4545, allocations: 3.953 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.4545, allocations: 16.33 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4545, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4545, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4545, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.4547, allocations: 125.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4547, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.4547, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4547, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.4547, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.4547, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4547, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.4549, allocations: 171.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.4549, allocations: 11.92 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.455, allocations: 7.984 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.4551, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4551, allocations: 11.97 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4551, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.4552, allocations: 105 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4552, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002229/0.4554, allocations: 12 kB / 1.332 GB, free: 12.17 MB / 1.029 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.0001471/0.4556, allocations: 107.2 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.4557, allocations: 39.91 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4557, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.4558, allocations: 15.98 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.456, allocations: 9.656 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.4564, allocations: 166.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.658e-05/0.4565, allocations: 79.33 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.4565, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.4566, allocations: 7.438 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4566, allocations: 3.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of Templates: time 0.003818/0.4604, allocations: 0.9739 MB / 1.333 GB, free: 10.73 MB / 1.029 GB " [Timeout remaining time 300] 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 cvode -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.593826920958236]