Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.00193/0.00193, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001856/0.001856, allocations: 169.8 kB / 22.46 MB, free: 5.371 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.749/2.749, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.376e-05, allocations: 8.609 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00222/0.002254, allocations: 0.7089 MB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003614, allocations: 0.8548 MB / 0.9525 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.003668, allocations: 4 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.003705, allocations: 3.938 kB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.003798, allocations: 3.938 kB / 0.9525 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.003974, allocations: 19.97 kB / 0.9525 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.004073, allocations: 51.84 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.004197, allocations: 19.92 kB / 0.9526 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.004292, allocations: 19.98 kB / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.004364, allocations: 27.89 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.004399, allocations: 4 kB / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.004412, allocations: 4 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.004433, allocations: 7.938 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.004468, allocations: 15.92 kB / 0.9527 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.004601, allocations: 51.91 kB / 0.9527 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.004604, allocations: 0 / 0.9527 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004605, allocations: 0 / 0.9527 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.004615, allocations: 3.938 kB / 0.9527 GB, free: 9.719 MB / 0.8575 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.0006187/0.005234, allocations: 282.2 kB / 0.953 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.005277, allocations: 8.031 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.005319, allocations: 4.938 kB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.005473, allocations: 121.7 kB / 0.9531 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.005491, allocations: 4.359 kB / 0.9531 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.005511, allocations: 4.375 kB / 0.9531 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.005743, allocations: 62.22 kB / 0.9532 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.00576, allocations: 11.88 kB / 0.9532 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.005774, allocations: 3.984 kB / 0.9532 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.005778, allocations: 4 kB / 0.9532 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.006002, allocations: 51.95 kB / 0.9533 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.006463, allocations: 216.6 kB / 0.9535 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.006691, allocations: 74.39 kB / 0.9535 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.00681, allocations: 28.91 kB / 0.9536 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.006826, allocations: 4 kB / 0.9536 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.006855, allocations: 34.56 kB / 0.9536 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.006856, allocations: 0 / 0.9536 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000456/0.007312, allocations: 113.5 kB / 0.9537 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.007359, allocations: 51.41 kB / 0.9538 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.007464, allocations: 105.8 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.007486, allocations: 29.7 kB / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.007546, allocations: 84.14 kB / 0.954 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.007568, allocations: 15.78 kB / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.007618, allocations: 29.7 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.007758, allocations: 314.8 kB / 0.9543 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.007875, allocations: 23.97 kB / 0.9543 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/0.00797, allocations: 19.98 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.008179, allocations: 52.81 kB / 0.9544 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.008183, allocations: 3.938 kB / 0.9544 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002718/0.008455, allocations: 89.64 kB / 0.9545 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.008472, allocations: 4 kB / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.008477, allocations: 0 / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.008493, allocations: 3.938 kB / 0.9545 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.008621, allocations: 15.92 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.008625, allocations: 0 / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.008714, allocations: 15.94 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.008724, allocations: 4 kB / 0.9545 GB, free: 7.691 MB / 0.8575 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,intLesThr.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.0001158/0.00884, allocations: 113.8 kB / 0.9547 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.008871, allocations: 11.98 kB / 0.9547 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.008909, allocations: 4 kB / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.008911, allocations: 0 / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.008919, allocations: 4 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008922, allocations: 0 / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.00909, allocations: 117.4 kB / 0.9548 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.009095, allocations: 3.938 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/0.00919, allocations: 11.98 kB / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.009193, allocations: 0 / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.009202, allocations: 0 / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.009203, allocations: 0 / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009204, allocations: 8 kB / 0.9548 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.009532, allocations: 183.7 kB / 0.955 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.009546, allocations: 7.922 kB / 0.955 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.009563, allocations: 4 kB / 0.955 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.009671, allocations: 4.047 kB / 0.955 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.009738, allocations: 19.95 kB / 0.955 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.009744, allocations: 0 / 0.955 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.009806, allocations: 91.58 kB / 0.9551 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009806, allocations: 4 kB / 0.9551 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002289/0.01004, allocations: 4 kB / 0.9551 GB, free: 7.051 MB / 0.8575 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 (intLesThr.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.0001363/0.01017, allocations: 107.2 kB / 0.9552 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.01046, allocations: 51.95 kB / 0.9553 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01046, allocations: 0 / 0.9553 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01059, allocations: 31.91 kB / 0.9553 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.01093, allocations: 15.94 kB / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.01135, allocations: 124.9 kB / 0.9554 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.938e-05/0.01143, allocations: 67.28 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.01148, allocations: 7.938 kB / 0.9555 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.01153, allocations: 20.48 kB / 0.9555 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/0.01153, allocations: 4 kB / 0.9555 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of Templates: time 0.004412/0.01595, allocations: 0.9388 MB / 0.9564 GB, free: 5.648 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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: 8.03543670848012]