Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.002065/0.002065, 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.003108/0.003108, 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.713/1.713, 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.01/3.01, allocations: 475.9 MB / 0.7699 GB, free: 4.766 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [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.002204/0.002204, allocations: 69.58 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.394, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002188/0.3962, allocations: 0.7061 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3974, allocations: 0.8511 MB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.3974, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.3974, allocations: 11.86 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.3975, allocations: 7.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.3977, allocations: 19.98 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3978, allocations: 47.84 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3979, allocations: 12 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.398, allocations: 23.91 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.398, allocations: 27.91 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3981, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.3981, allocations: 4 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.3981, allocations: 8 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.3981, allocations: 19.86 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3983, allocations: 47.8 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3983, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3983, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3983, allocations: 0 / 1.285 GB, free: 10.09 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.0005347/0.3988, allocations: 278.3 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3989, allocations: 8.031 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3989, allocations: 8.891 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.399, allocations: 122.4 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.399, allocations: 384 / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3991, allocations: 4.375 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3993, allocations: 73.56 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3993, allocations: 4 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3993, allocations: 0 / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3993, allocations: 0 / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.3995, allocations: 59.89 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.4, allocations: 224.5 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.4002, allocations: 58.55 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.4003, allocations: 28.91 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4003, allocations: 0 / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.4004, allocations: 38.5 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4004, allocations: 3.938 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004504/0.4008, allocations: 113.6 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.4009, allocations: 51.41 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.401, allocations: 105.8 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.401, allocations: 25.7 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.4011, allocations: 88.14 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.4011, allocations: 19.83 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.4012, allocations: 13.72 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4014, allocations: 326.8 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4015, allocations: 23.98 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.4016, allocations: 31.84 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.4018, allocations: 53.08 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4018, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003518/0.4021, allocations: 81.66 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4021, allocations: 12 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4021, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4022, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4023, allocations: 11.98 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4023, allocations: 3.984 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.4024, allocations: 8 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.4024, allocations: 0 / 1.287 GB, free: 8.078 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,intLesEquThr.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.0001136/0.4025, allocations: 125.7 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.4025, allocations: 7.953 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.4025, allocations: 8 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4025, allocations: 4 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4025, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4025, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.4027, allocations: 117.3 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4027, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.4028, allocations: 11.98 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4028, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4028, allocations: 3.984 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4028, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4029, allocations: 3.938 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.4032, allocations: 183.4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.4032, allocations: 11.95 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4032, allocations: 3.938 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4033, allocations: 7.984 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.4034, allocations: 11.98 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.4034, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.4034, allocations: 91.27 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4034, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000243/0.4037, allocations: 8 kB / 1.287 GB, free: 7.43 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 (intLesEquThr.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.0001164/0.4038, allocations: 103.2 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.4041, allocations: 47.95 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4041, allocations: 0 / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4042, allocations: 39.91 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.4045, allocations: 10.53 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.4049, allocations: 129.6 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.054e-05/0.4049, allocations: 67.34 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.405, allocations: 7.938 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.405, allocations: 15.42 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.405, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.003669/0.4087, allocations: 0.9572 MB / 1.288 GB, free: 6.02 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.903048736974597]