Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00171/0.00171, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002127/0.002127, allocations: 208.3 kB / 22.99 MB, free: 4.977 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.314/3.314, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001959/0.001959, allocations: 68.34 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.385, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002476/0.3875, allocations: 0.7058 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3888, allocations: 0.8588 MB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.3888, allocations: 0 / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.3889, allocations: 3.938 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/0.3889, allocations: 3.938 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.3891, allocations: 19.98 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3892, allocations: 51.83 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3893, allocations: 4 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.3894, allocations: 27.92 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.3895, allocations: 31.83 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3895, allocations: 4 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.3895, allocations: 4 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3895, allocations: 4 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.3896, allocations: 19.92 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3897, allocations: 51.73 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3897, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.701e-06/0.3897, allocations: 3.984 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3897, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 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.0005597/0.3903, allocations: 282.3 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3903, allocations: 15.97 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.3903, allocations: 4.891 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3905, allocations: 110.5 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3905, allocations: 384 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3905, allocations: 8.375 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3907, allocations: 73.53 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3907, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3907, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3907, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.391, allocations: 55.94 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.3914, allocations: 228.4 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.3916, allocations: 70.45 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3917, allocations: 28.92 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3918, allocations: 4 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3918, allocations: 30.56 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3918, allocations: 4 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004302/0.3922, allocations: 105.6 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.3923, allocations: 55.34 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3924, allocations: 117.8 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3924, allocations: 25.7 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.3925, allocations: 88.09 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.3925, allocations: 11.89 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3925, allocations: 21.7 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3927, allocations: 318.8 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3928, allocations: 23.97 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.3929, allocations: 19.98 kB / 1.368 GB, free: 9.945 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.393, allocations: 56.81 kB / 1.368 GB, free: 9.887 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.393, allocations: 0 / 1.368 GB, free: 9.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002423/0.3933, allocations: 89.53 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3933, allocations: 8 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3933, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3933, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3934, allocations: 11.98 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3934, allocations: 0 / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.3935, allocations: 11.98 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3935, allocations: 4 kB / 1.368 GB, free: 9.758 MB / 1.061 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.816e-05/0.3936, allocations: 113.8 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3937, allocations: 0 / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.3937, allocations: 12 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3937, allocations: 7.984 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3937, allocations: 4 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3937, allocations: 0 / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3939, allocations: 125.1 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3939, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.3939, allocations: 11.98 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3939, allocations: 0 / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.394, allocations: 4 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.394, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.394, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.3943, allocations: 191.7 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.3943, allocations: 7.953 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3943, allocations: 3.938 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3944, allocations: 7.984 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.3945, allocations: 11.98 kB / 1.369 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.3945, allocations: 0 / 1.369 GB, free: 9.199 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.3945, allocations: 91.27 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3945, allocations: 0 / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002284/0.3947, allocations: 4 kB / 1.369 GB, free: 9.105 MB / 1.061 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.0001199/0.3949, allocations: 99.25 kB / 1.369 GB, free: 9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.3951, allocations: 63.88 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3951, allocations: 0 / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3952, allocations: 27.97 kB / 1.369 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3956, allocations: 7.938 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.396, allocations: 155.3 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.036e-05/0.396, allocations: 67.33 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.3961, allocations: 11.44 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3961, allocations: 0 / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of Templates: time 0.002497/0.3986, allocations: 0.8241 MB / 1.37 GB, free: 7.801 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.414784574881196]