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.001827/0.001827, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00218/0.00218, allocations: 207.2 kB / 22.24 MB, free: 5.262 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.797 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 3.112/3.112, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002382/0.002382, allocations: 66.25 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4188, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002849/0.4216, allocations: 0.8105 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.4232, allocations: 0.9017 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.4234, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.4236, allocations: 15.86 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.4236, allocations: 11.88 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.4239, allocations: 35.91 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.4241, allocations: 71.78 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4243, allocations: 23.97 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.4245, allocations: 35.8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.4246, allocations: 27.86 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.4246, allocations: 8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-05/0.4247, allocations: 11.98 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.4247, allocations: 11.92 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.4247, allocations: 27.86 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.425, allocations: 87.56 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.425, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.635e-06/0.425, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.425, allocations: 7.922 kB / 1.285 GB, free: 9.863 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.0007474/0.4257, allocations: 306 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.4258, allocations: 8.031 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.426, allocations: 28.88 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.4263, allocations: 148.3 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4264, allocations: 384 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.4264, allocations: 8.375 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4266, allocations: 58.23 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4266, allocations: 4.125 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.4266, allocations: 7.938 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4266, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4267, allocations: 31.97 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.4273, allocations: 264.3 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.4275, allocations: 46.62 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.4276, allocations: 16.94 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4276, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4276, allocations: 30.56 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4276, allocations: 0 / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003195/0.428, allocations: 73.66 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.428, allocations: 59.39 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4282, allocations: 133.8 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4282, allocations: 25.7 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.4283, allocations: 96.09 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.4283, allocations: 15.94 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.4283, allocations: 13.72 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4285, allocations: 322.8 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.4286, allocations: 12 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.831e-05/0.4286, allocations: 19.98 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.4287, allocations: 28.84 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4287, allocations: 4 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001491/0.4289, allocations: 73.56 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4289, allocations: 7.125 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4289, allocations: 0 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4289, allocations: 4.266 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.429, allocations: 4 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.429, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.4291, allocations: 11.98 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4291, allocations: 0 / 1.287 GB, free: 7.859 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.0001341/0.4292, allocations: 121.8 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.4292, allocations: 11.94 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.4293, allocations: 16.27 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4293, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4293, allocations: 4 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4293, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.4294, allocations: 125.2 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4294, allocations: 0 / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.4295, allocations: 3.938 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4295, allocations: 4 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4295, allocations: 4 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4295, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4295, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.4297, allocations: 161.2 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.4297, allocations: 15.88 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.4298, allocations: 4 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.4299, allocations: 11.98 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4299, allocations: 3.984 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4299, allocations: 4 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001382/0.43, allocations: 103.3 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.43, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002193/0.4303, allocations: 8 kB / 1.287 GB, free: 7.207 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.000149/0.4304, allocations: 99.25 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.4306, allocations: 39.91 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4306, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.587e-05/0.4306, allocations: 19.98 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4309, allocations: 15.84 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.4313, allocations: 162.8 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.13e-05/0.4314, allocations: 77.08 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.4314, allocations: 4 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.4315, allocations: 19.42 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.4315, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of Templates: time 0.003778/0.4352, allocations: 0.9358 MB / 1.289 GB, free: 5.805 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.805820990353823]