Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001667/0.001667, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002157/0.002157, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.785/1.785, allocations: 230.6 MB / 256 MB, free: 8.008 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.024/3.024, allocations: 476.7 MB / 0.7706 GB, free: 4.473 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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [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.003045/0.003045, allocations: 64.77 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4868, allocations: 170 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002326/0.4891, allocations: 0.7171 MB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.4904, allocations: 0.8666 MB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.4905, allocations: 0 / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.4905, allocations: 3.938 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.4906, allocations: 3.938 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.4907, allocations: 31.89 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.4908, allocations: 39.98 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.491, allocations: 19.92 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.4911, allocations: 23.92 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.4911, allocations: 27.91 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.4912, allocations: 4 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.4912, allocations: 7.938 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.4912, allocations: 11.92 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.4912, allocations: 15.94 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.4913, allocations: 51.72 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4913, allocations: 0 / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.053e-06/0.4913, allocations: 0 / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.4914, allocations: 4 kB / 1.286 GB, free: 9.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005479/0.4919, allocations: 282.2 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4919, allocations: 12.03 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.492, allocations: 0.9375 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4921, allocations: 118.4 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4922, allocations: 4.375 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4922, allocations: 4.375 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.4924, allocations: 73.58 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4924, allocations: 4 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4924, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4924, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.4927, allocations: 47.95 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.4931, allocations: 259.8 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.4934, allocations: 66.53 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.4935, allocations: 28.92 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.4935, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.4935, allocations: 30.56 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4935, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004417/0.494, allocations: 121.5 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.494, allocations: 51.41 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4941, allocations: 105.8 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4941, allocations: 29.7 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.4942, allocations: 84.14 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.4942, allocations: 15.84 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.4943, allocations: 17.7 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4944, allocations: 326.8 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4945, allocations: 23.97 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.4946, allocations: 32.09 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.4948, allocations: 48.81 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4948, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002567/0.4951, allocations: 93.58 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4951, allocations: 8 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4951, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4951, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4952, allocations: 11.98 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4952, allocations: 3.938 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.4953, allocations: 7.984 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4953, allocations: 0 / 1.287 GB, free: 7.398 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: 2 (reaToInt.y,intGreEquThr.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.0001012/0.4954, allocations: 117.8 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.4954, allocations: 7.953 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.4955, allocations: 12 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4955, allocations: 0 / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4955, allocations: 0 / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4955, allocations: 3.984 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.4957, allocations: 144.7 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4957, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.4958, allocations: 11.98 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4958, allocations: 3.938 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4958, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4958, allocations: 7.984 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4958, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.4961, allocations: 183.4 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.4961, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.4961, allocations: 4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4962, allocations: 7.984 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.4963, allocations: 15.98 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.4963, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.4964, allocations: 83.28 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4964, allocations: 0 / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002272/0.4966, allocations: 15.94 kB / 1.288 GB, free: 6.715 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 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001219/0.4967, allocations: 99.23 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.497, allocations: 55.89 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.497, allocations: 0 / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.4971, allocations: 39.91 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.4974, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.4978, allocations: 126 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4982, allocations: 0.6807 MB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.4982, allocations: 11.94 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.4983, allocations: 15.42 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4983, allocations: 0 / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.003934/0.5022, allocations: 0.9191 MB / 1.29 GB, free: 4.723 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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: 10.218132001813501]