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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 201.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002097/0.002097, allocations: 79.88 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7825, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002104/0.7846, allocations: 0.7075 MB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.7856, allocations: 0.8468 MB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.7857, allocations: 4 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.7857, allocations: 3.938 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.7858, allocations: 3.938 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.7859, allocations: 19.97 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.786, allocations: 43.86 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.7861, allocations: 19.97 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.7862, allocations: 15.98 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.7863, allocations: 23.86 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.7863, allocations: 4 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.7863, allocations: 8 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.7864, allocations: 19.97 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.7864, allocations: 19.86 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.7865, allocations: 42.55 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7865, allocations: 3.938 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7865, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7865, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 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.0006036/0.7871, allocations: 355.3 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7872, allocations: 12.03 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.7872, allocations: 8.891 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.7874, allocations: 184.3 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.7874, allocations: 384 / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.7875, allocations: 4.375 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.7877, allocations: 65.59 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.7877, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7877, allocations: 3.938 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7877, allocations: 4 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.7879, allocations: 55.89 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.7884, allocations: 292.7 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.7887, allocations: 58.55 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.7888, allocations: 32.91 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.7888, allocations: 4 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.7888, allocations: 38.5 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.7888, allocations: 0 / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004552/0.7893, allocations: 105.6 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.7893, allocations: 51.41 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.7894, allocations: 109.8 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.7895, allocations: 25.7 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.7895, allocations: 96.16 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.7896, allocations: 11.88 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.7896, allocations: 17.72 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.7898, allocations: 318.8 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.7899, allocations: 23.98 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.79, allocations: 35.91 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.7902, allocations: 48.81 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7902, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002542/0.7905, allocations: 85.59 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7905, allocations: 5.562 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7905, allocations: 0 / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7905, allocations: 4.328 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.7906, allocations: 11.98 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7906, allocations: 4 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.7907, allocations: 11.98 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.7907, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 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.0001563/0.7909, allocations: 121.7 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.7909, allocations: 0 / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.7909, allocations: 11.91 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7909, allocations: 0 / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7909, allocations: 4 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7909, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.7912, allocations: 181.5 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7912, allocations: 3.938 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.7913, allocations: 15.98 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.7913, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7913, allocations: 4 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7913, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7913, allocations: 3.984 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.7916, allocations: 183.4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.7917, allocations: 89.05 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.7917, allocations: 3.938 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.7918, allocations: 7.984 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.7919, allocations: 8 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.7919, allocations: 3.984 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.7919, allocations: 87.28 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7919, allocations: 4 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002375/0.7922, allocations: 11.94 kB / 1.279 GB, free: 15.61 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.0001248/0.7923, allocations: 95.78 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.7925, allocations: 59.94 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7925, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.7927, allocations: 35.91 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.793, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.7933, allocations: 145.3 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.7937, allocations: 0.6807 MB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.7937, allocations: 8 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.7938, allocations: 11.44 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.7938, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of Templates: time 0.003602/0.7974, allocations: 0.909 MB / 1.28 GB, free: 13.61 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 -s gbode -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_2/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.928095080889761]