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.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.001699/0.001699, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.002083/0.002083, allocations: 219.7 kB / 22.26 MB, free: 5.191 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.031 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 2.852/2.852, allocations: 476.7 MB / 0.7706 GB, free: 4.328 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.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: 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.002164/0.002164, allocations: 70.05 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4109, allocations: 169.9 MB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002454/0.4133, allocations: 0.8351 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.4147, allocations: 0.9173 MB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.4148, allocations: 0 / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.4149, allocations: 19.81 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.415, allocations: 11.86 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.4152, allocations: 27.98 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.4154, allocations: 83.7 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.4156, allocations: 27.91 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.4157, allocations: 27.92 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.4158, allocations: 31.8 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.4158, allocations: 8 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.4159, allocations: 12 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.4159, allocations: 15.91 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.4159, allocations: 35.75 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.4161, allocations: 83.61 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4161, allocations: 4 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4161, allocations: 0 / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4162, allocations: 0 / 1.286 GB, free: 9.129 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006601/0.4168, allocations: 314 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4169, allocations: 8.031 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.417, allocations: 16.88 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.4173, allocations: 146.4 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4173, allocations: 384 / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.4174, allocations: 8.312 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4175, allocations: 62.23 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4176, allocations: 4.188 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4176, allocations: 3.938 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4176, allocations: 0 / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4177, allocations: 35.97 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.4183, allocations: 299.7 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.4184, allocations: 42.56 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.4185, allocations: 21.03 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4185, allocations: 4 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.4185, allocations: 38.56 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.4185, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002763/0.4188, allocations: 69.62 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.4189, allocations: 51.41 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.419, allocations: 140 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.419, allocations: 25.7 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.4191, allocations: 104.1 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.4192, allocations: 7.953 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.4192, allocations: 17.7 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4194, allocations: 322.8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.4194, allocations: 19.92 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/0.4195, allocations: 15.98 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/0.4196, allocations: 28.84 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4196, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.4197, allocations: 69.97 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4197, allocations: 4 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4197, allocations: 11.91 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4197, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.4198, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4198, allocations: 7.938 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.4199, allocations: 7.984 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.4199, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 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.0001065/0.42, allocations: 121.8 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.42, allocations: 7.953 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.4201, allocations: 16.33 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.4201, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4201, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4201, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.4203, allocations: 156.6 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4203, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.4203, allocations: 4 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4203, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4203, allocations: 11.98 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4203, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4203, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4205, allocations: 165.1 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.4205, allocations: 3.953 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4206, allocations: 8 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4207, allocations: 11.98 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.4207, allocations: 11.98 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4207, allocations: 3.938 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.458e-05/0.4208, allocations: 106.1 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4208, allocations: 0 / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002273/0.4211, allocations: 11.94 kB / 1.288 GB, free: 6.375 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.0001432/0.4212, allocations: 99.23 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.4214, allocations: 31.98 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4214, allocations: 4 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.4214, allocations: 19.92 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.4217, allocations: 13.45 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.4221, allocations: 161.1 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4225, allocations: 0.6961 MB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.4225, allocations: 4 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.4226, allocations: 15.42 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4226, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of Templates: time 0.0039/0.4265, allocations: 0.8699 MB / 1.29 GB, free: 4.41 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.473781799897552]