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.001431/0.001431, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001601/0.001601, allocations: 217 kB / 23 MB, free: 4.969 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.656/1.656, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.316/3.316, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002141/0.002141, allocations: 63.86 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002163/0.3867, allocations: 0.7992 MB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.388, allocations: 0.9133 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.3881, allocations: 3.938 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.3883, allocations: 11.88 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.3883, allocations: 19.84 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3885, allocations: 27.91 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3887, allocations: 71.84 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3888, allocations: 27.92 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3889, allocations: 35.84 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.389, allocations: 27.86 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.389, allocations: 7.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.3891, allocations: 8 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3891, allocations: 19.92 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.3891, allocations: 19.88 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3893, allocations: 91.55 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3893, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3893, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3893, allocations: 0 / 1.329 GB, free: 14.86 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.0005945/0.3899, allocations: 318 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3899, allocations: 8.031 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.3901, allocations: 16.88 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3904, allocations: 147.9 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3904, allocations: 4.375 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3904, allocations: 4.375 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3906, allocations: 66.23 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3906, allocations: 192 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3906, allocations: 3.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3906, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.3907, allocations: 39.91 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.3912, allocations: 256.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3914, allocations: 42.59 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.3914, allocations: 25 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.3914, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3915, allocations: 34.56 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3915, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002843/0.3918, allocations: 73.62 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3918, allocations: 55.34 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3919, allocations: 139.6 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3919, allocations: 25.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.392, allocations: 104.1 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.392, allocations: 11.89 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3921, allocations: 21.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3922, allocations: 322.8 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.3923, allocations: 15.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.3923, allocations: 15.98 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.3924, allocations: 24.84 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3924, allocations: 3.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001397/0.3926, allocations: 65.64 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3926, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3926, allocations: 11.94 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3926, allocations: 3.984 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.3927, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3927, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.3928, allocations: 11.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3928, allocations: 336 / 1.331 GB, free: 12.84 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 9.588e-05/0.3929, allocations: 122.3 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.3929, allocations: 3.953 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.3929, allocations: 20.31 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3929, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3929, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.3929, allocations: 7.953 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.393, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3931, allocations: 15.92 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3931, allocations: 11.98 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002248/0.3933, allocations: 144.9 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002221/0.3936, allocations: 230.8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.955e-05/0.3936, allocations: 19.98 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.3937, allocations: 103.3 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of Backend: time 2.3e-07/0.3937, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.3941, allocations: 109.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005961/0.3947, allocations: 0.6168 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of Templates: time 0.004068/0.3988, allocations: 1.127 MB / 1.333 GB, free: 10.25 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 -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.52098849399772]