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.002035/0.002035, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002632/0.002632, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.693/1.693, allocations: 230.6 MB / 256 MB, free: 7.789 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.006/3.006, allocations: 475.9 MB / 0.7699 GB, free: 4.777 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.002148/0.002148, allocations: 71.59 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4039, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002207/0.4061, allocations: 0.7054 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4073, allocations: 0.8549 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.4073, allocations: 3.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.4074, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.4074, allocations: 7.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.4076, allocations: 31.91 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.4077, allocations: 47.89 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.4078, allocations: 12 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.4079, allocations: 23.92 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.408, allocations: 19.91 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.408, allocations: 4 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.408, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.4081, allocations: 15.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.4081, allocations: 15.92 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.4082, allocations: 47.8 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4082, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4082, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.4082, allocations: 3.938 kB / 1.285 GB, free: 10.15 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.0005762/0.4088, allocations: 282.2 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4088, allocations: 8.031 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.4089, allocations: 12.89 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.409, allocations: 114.4 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.409, allocations: 384 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.4091, allocations: 4.375 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.4093, allocations: 73.58 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4093, allocations: 0 / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4093, allocations: 4 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4093, allocations: 4 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.4095, allocations: 51.89 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.4099, allocations: 224.5 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.4101, allocations: 62.53 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4103, allocations: 28.91 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4103, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4103, allocations: 38.5 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4103, allocations: 4 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000426/0.4107, allocations: 109.6 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.4108, allocations: 51.41 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.4109, allocations: 105.8 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4109, allocations: 29.7 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.411, allocations: 84.14 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.411, allocations: 15.84 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.411, allocations: 17.7 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4112, allocations: 326.8 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4113, allocations: 27.91 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.4114, allocations: 23.97 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.4116, allocations: 49.05 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4116, allocations: 4 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002415/0.4118, allocations: 89.62 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4118, allocations: 8 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4118, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4119, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.412, allocations: 15.92 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.412, allocations: 0 / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.4121, allocations: 7.984 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4121, allocations: 0 / 1.287 GB, free: 8.141 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.000101/0.4122, allocations: 121.7 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.4122, allocations: 7.953 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.4122, allocations: 15.98 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.4122, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4122, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4122, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4124, allocations: 117.2 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4124, allocations: 0 / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.4125, allocations: 11.98 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4125, allocations: 0 / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.4125, allocations: 8 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4125, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4125, allocations: 4 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.4128, allocations: 183.4 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.4128, allocations: 7.938 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.4128, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.4129, allocations: 4 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.413, allocations: 15.92 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.413, allocations: 7.984 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.4131, allocations: 87.58 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4131, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002265/0.4133, allocations: 12 kB / 1.287 GB, free: 7.488 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.0001573/0.4134, allocations: 95.25 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.4137, allocations: 55.94 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4137, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4139, allocations: 35.91 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.4142, allocations: 7.938 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.4145, allocations: 131.8 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.4146, allocations: 67.28 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.4146, allocations: 4 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.4147, allocations: 15.38 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.4147, allocations: 0 / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of Templates: time 0.003727/0.4184, allocations: 0.9669 MB / 1.288 GB, free: 6.078 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: 9.962525391951203]