Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 196.4 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.999/2.999, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 75.88 kB / 1.109 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9832/0.9853, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002572/0.9879, allocations: 0.825 MB / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.9893, allocations: 0.8818 MB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.9894, allocations: 4 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.9897, allocations: 11.88 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.9897, allocations: 11.88 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.99, allocations: 31.84 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.9902, allocations: 79.77 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.9903, allocations: 19.98 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.9904, allocations: 27.92 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.9906, allocations: 35.78 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.9906, allocations: 4 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.9906, allocations: 4 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.9906, allocations: 15.92 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.9907, allocations: 31.8 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.9909, allocations: 78.3 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.9909, allocations: 0 / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9909, allocations: 0 / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.9909, allocations: 4 kB / 1.276 GB, free: 2.457 MB / 0.9669 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.0007792/0.9917, allocations: 399.1 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9917, allocations: 8.031 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.9918, allocations: 8.891 kB / 1.277 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.9921, allocations: 201.7 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.9922, allocations: 8.375 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.9922, allocations: 4.375 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.9924, allocations: 66.22 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9924, allocations: 192 / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.9924, allocations: 11.92 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9924, allocations: 0 / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.9925, allocations: 27.98 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.9931, allocations: 328.6 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.9933, allocations: 46.59 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.9934, allocations: 21 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.9934, allocations: 0 / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.9934, allocations: 30.56 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9934, allocations: 8 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003029/0.9937, allocations: 65.67 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.9938, allocations: 51.41 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.9939, allocations: 143.8 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.9939, allocations: 29.7 kB / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.994, allocations: 100.1 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.994, allocations: 7.938 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.9941, allocations: 21.7 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.9943, allocations: 326.8 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.9943, allocations: 15.98 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.9944, allocations: 15.98 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.854e-05/0.9945, allocations: 24.84 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9945, allocations: 0 / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001478/0.9946, allocations: 65.64 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9946, allocations: 4 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.9946, allocations: 7.938 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.9947, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.9947, allocations: 11.92 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9947, allocations: 0 / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.9948, allocations: 11.98 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.9948, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 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.0001296/0.995, allocations: 117.8 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.995, allocations: 7.953 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.995, allocations: 16.23 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.995, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.995, allocations: 4 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.995, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.9953, allocations: 181.6 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9953, allocations: 4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.9953, allocations: 4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9953, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.9953, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.9953, allocations: 3.984 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.9953, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.9956, allocations: 167.7 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.9956, allocations: 85.06 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.9956, allocations: 4 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.9958, allocations: 11.98 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.9958, allocations: 7.984 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.9958, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.823e-05/0.9959, allocations: 103.3 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9959, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002245/0.9961, allocations: 15.88 kB / 1.279 GB, free: 15.39 MB / 0.9825 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.0001733/0.9963, allocations: 103.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.9965, allocations: 35.97 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9965, allocations: 3.938 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.9965, allocations: 27.92 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.9968, allocations: 6.031 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.9973, allocations: 193.5 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.9976, allocations: 0.6885 MB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.9977, allocations: 8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.9977, allocations: 19.36 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9977, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.003809/1.002, allocations: 0.859 MB / 1.281 GB, free: 13.39 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.404551145154983]