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.001266/0.001266, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001403/0.001403, allocations: 214 kB / 23.01 MB, free: 4.566 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.879/2.879, allocations: 476.8 MB / 0.7714 GB, free: 4.27 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.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: 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.00208/0.00208, allocations: 67.23 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002105/0.3653, allocations: 0.7173 MB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3664, allocations: 0.8627 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.3665, allocations: 0 / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.3665, allocations: 3.938 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.3666, allocations: 11.86 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.3668, allocations: 27.97 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.3669, allocations: 39.92 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.367, allocations: 15.98 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.3671, allocations: 31.84 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.3671, allocations: 19.92 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.3672, allocations: 4 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.3672, allocations: 4 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.3672, allocations: 11.98 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.3672, allocations: 15.88 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3673, allocations: 51.78 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3674, allocations: 4 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3674, allocations: 3.938 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3674, allocations: 4 kB / 1.286 GB, free: 9.414 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.0005627/0.3679, allocations: 282.2 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.368, allocations: 8.031 kB / 1.287 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.368, allocations: 4.938 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3681, allocations: 114.4 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3682, allocations: 384 / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3682, allocations: 8.312 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.3684, allocations: 69.53 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3684, allocations: 4 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3684, allocations: 7.984 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3684, allocations: 4 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.3686, allocations: 43.95 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.3691, allocations: 259.9 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3693, allocations: 70.47 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.3694, allocations: 24.92 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3694, allocations: 0 / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3694, allocations: 34.56 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3694, allocations: 0 / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004392/0.3699, allocations: 117.6 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3699, allocations: 55.34 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.37, allocations: 105.8 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3701, allocations: 25.7 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.3701, allocations: 88.14 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.3701, allocations: 15.84 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3702, allocations: 17.7 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3703, allocations: 322.8 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3704, allocations: 27.97 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.3705, allocations: 19.98 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3707, allocations: 53.08 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3707, allocations: 0 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002397/0.371, allocations: 93.58 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.371, allocations: 4 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.371, allocations: 3.938 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.371, allocations: 4 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3711, allocations: 7.984 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3711, allocations: 4 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.3712, allocations: 7.984 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3712, allocations: 4 kB / 1.288 GB, free: 7.355 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,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 9.515e-05/0.3713, allocations: 121.8 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.3713, allocations: 3.953 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3714, allocations: 11.98 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3714, allocations: 0 / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3714, allocations: 0 / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3714, allocations: 0 / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3716, allocations: 148.7 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3716, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.791e-05/0.3717, allocations: 11.98 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3717, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3717, allocations: 7.922 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3717, allocations: 4 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3717, allocations: 0 / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.372, allocations: 187.3 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.372, allocations: 4 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.372, allocations: 0 / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3721, allocations: 7.984 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.3722, allocations: 15.98 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.3722, allocations: 0 / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.28e-05/0.3722, allocations: 99.62 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3722, allocations: 0 / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002215/0.3724, allocations: 11.94 kB / 1.289 GB, free: 6.66 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 (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.000119/0.3726, allocations: 95.25 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.3728, allocations: 59.89 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3728, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3729, allocations: 27.97 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.3733, allocations: 10.34 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.3737, allocations: 147.3 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.374, allocations: 0.6807 MB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.374, allocations: 19.42 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.374, allocations: 3.938 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of Templates: time 0.002406/0.3764, allocations: 0.8165 MB / 1.291 GB, free: 4.746 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.213793736998923]