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.001978/0.001978, allocations: 115.7 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.002329/0.002329, allocations: 199.5 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.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.734/2.734, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.002012/0.002012, allocations: 71.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9129/0.9149, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002666/0.9175, allocations: 0.821 MB / 1.275 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.9189, allocations: 0.8819 MB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.919, allocations: 11.94 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.9191, allocations: 11.88 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.9192, allocations: 11.86 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.9194, allocations: 31.89 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.9195, allocations: 71.78 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.9196, allocations: 23.98 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.9197, allocations: 31.84 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.9198, allocations: 23.86 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.9198, allocations: 8 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.9198, allocations: 8 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.9199, allocations: 23.86 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.9199, allocations: 27.8 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.9201, allocations: 78.36 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9201, allocations: 0 / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9201, allocations: 0 / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9201, allocations: 3.938 kB / 1.276 GB, free: 2.48 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.0006419/0.9207, allocations: 391.1 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.9208, allocations: 16.03 kB / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.9208, allocations: 8.891 kB / 1.277 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.9211, allocations: 204.2 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-06/0.9211, allocations: 384 / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.9211, allocations: 12.31 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.9214, allocations: 58.23 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.9214, allocations: 192 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.9214, allocations: 7.938 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.9214, allocations: 8 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.9215, allocations: 27.98 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.922, allocations: 324.6 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.9223, allocations: 46.55 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.9224, allocations: 24.95 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.9224, allocations: 0 / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.9224, allocations: 30.56 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.9224, allocations: 0 / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002833/0.9227, allocations: 69.75 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.9227, allocations: 55.41 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.9229, allocations: 143.3 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.9229, allocations: 25.7 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.923, allocations: 92.14 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.923, allocations: 15.94 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.9231, allocations: 17.72 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9232, allocations: 318.8 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.9233, allocations: 15.94 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.9233, allocations: 16.17 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.9234, allocations: 40.92 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9234, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002174/0.9236, allocations: 65.62 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.9237, allocations: 8 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9237, allocations: 0 / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.9237, allocations: 0 / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.9238, allocations: 4 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.9238, allocations: 0 / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.9238, allocations: 19.86 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.9238, allocations: 4 kB / 1.278 GB, free: 232 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.0001068/0.924, allocations: 117.8 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.924, allocations: 7.938 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.924, allocations: 12.25 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.924, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.924, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.924, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.9243, allocations: 185.6 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9243, allocations: 4 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.9243, allocations: 7.984 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9243, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.9243, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9243, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9243, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.9245, allocations: 163.4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.9246, allocations: 85.06 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.9246, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.9247, allocations: 11.98 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.9248, allocations: 7.984 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9248, allocations: 0 / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.9249, allocations: 105.1 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9249, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002269/0.9251, allocations: 15.88 kB / 1.279 GB, free: 15.42 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.0001625/0.9253, allocations: 107.8 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.9254, allocations: 31.98 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9254, allocations: 3.938 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.9255, allocations: 19.92 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.9257, allocations: 8 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.9261, allocations: 190.4 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.9266, allocations: 0.6924 MB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.9266, allocations: 12.25 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.9266, allocations: 11.44 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.9266, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of Templates: time 0.003753/0.9304, allocations: 0.8596 MB / 1.281 GB, free: 13.43 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 gbode -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: 8.746459731832147]