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.001346/0.001346, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00153/0.00153, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 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 2.789/2.789, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.002168/0.002168, allocations: 64.45 kB / 1.118 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3644, allocations: 169.9 MB / 1.284 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002321/0.3668, allocations: 0.7058 MB / 1.284 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.368, allocations: 0.851 MB / 1.285 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.3681, allocations: 0 / 1.285 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.3681, allocations: 3.938 kB / 1.285 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.3682, allocations: 11.92 kB / 1.285 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.3683, allocations: 27.91 kB / 1.285 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3684, allocations: 51.84 kB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3685, allocations: 8 kB / 1.285 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.3686, allocations: 23.91 kB / 1.285 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.3687, allocations: 19.92 kB / 1.285 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3687, allocations: 4 kB / 1.285 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3687, allocations: 4 kB / 1.285 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.3688, allocations: 15.98 kB / 1.285 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.3688, allocations: 15.88 kB / 1.285 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3689, allocations: 47.78 kB / 1.286 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3689, allocations: 0 / 1.286 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3689, allocations: 0 / 1.286 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3689, allocations: 0 / 1.286 GB, free: 1.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005459/0.3695, allocations: 282.3 kB / 1.286 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3695, allocations: 8.031 kB / 1.286 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.3695, allocations: 8.891 kB / 1.286 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3697, allocations: 118.4 kB / 1.286 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3697, allocations: 4.375 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3697, allocations: 4.375 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3699, allocations: 73.58 kB / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3699, allocations: 0 / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.37, allocations: 0 / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.37, allocations: 0 / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3702, allocations: 51.95 kB / 1.286 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.3706, allocations: 228.4 kB / 1.286 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3708, allocations: 66.52 kB / 1.286 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3709, allocations: 28.92 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3709, allocations: 3.984 kB / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.371, allocations: 34.56 kB / 1.286 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.371, allocations: 4 kB / 1.286 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004328/0.3714, allocations: 117.5 kB / 1.287 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3715, allocations: 55.34 kB / 1.287 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3716, allocations: 105.8 kB / 1.287 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3716, allocations: 25.7 kB / 1.287 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3716, allocations: 88.14 kB / 1.287 GB, free: 444 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3717, allocations: 7.906 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3717, allocations: 21.7 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3719, allocations: 318.8 kB / 1.287 GB, free: 80 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.372, allocations: 27.97 kB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.3721, allocations: 27.97 kB / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3723, allocations: 44.98 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3723, allocations: 4 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002384/0.3725, allocations: 81.58 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3725, allocations: 14.34 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3725, allocations: 0 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3725, allocations: 0 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3727, allocations: 11.98 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3727, allocations: 0 / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.3728, allocations: 15.92 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3728, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 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 9.045e-05/0.3728, allocations: 113.8 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.3729, allocations: 7.953 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3729, allocations: 11.98 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3729, allocations: 4 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3729, allocations: 0 / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.3729, allocations: 0 / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3731, allocations: 121.2 kB / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3731, allocations: 0 / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.3732, allocations: 15.92 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3732, allocations: 0 / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3732, allocations: 0 / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3732, allocations: 4 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3732, allocations: 0 / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.3735, allocations: 191.7 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.3735, allocations: 7.984 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3735, allocations: 3.984 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.3736, allocations: 4 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.3737, allocations: 11.98 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3737, allocations: 7.984 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.005e-05/0.3738, allocations: 83.28 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3738, allocations: 0 / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002245/0.374, allocations: 8 kB / 1.288 GB, free: 15.2 MB / 0.9981 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.0001261/0.3741, allocations: 103.2 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3744, allocations: 59.81 kB / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3744, allocations: 0 / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3745, allocations: 31.97 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3748, allocations: 11.84 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.3753, allocations: 159.3 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.3753, allocations: 67.28 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.3754, allocations: 11.44 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.3754, allocations: 0 / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.002561/0.3779, allocations: 0.8382 MB / 1.289 GB, free: 13.88 MB / 0.9981 GB " [Timeout remaining time 300] 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/jenkins1/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: 10.819969886913896]