Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.00189/0.00189, 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.002444/0.002444, allocations: 211.6 kB / 23 MB, free: 4.57 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.674/1.674, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.289/3.289, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.00221/0.00221, allocations: 67.08 kB / 1.178 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3674, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002173/0.3696, allocations: 0.826 MB / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3708, allocations: 0.921 MB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.3709, allocations: 4 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.371, allocations: 19.8 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.371, allocations: 11.88 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.3713, allocations: 27.91 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3714, allocations: 71.78 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3715, allocations: 27.97 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3716, allocations: 35.86 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.3717, allocations: 23.86 kB / 1.356 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3717, allocations: 8 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.3718, allocations: 19.92 kB / 1.356 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.3718, allocations: 15.92 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3718, allocations: 31.8 kB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.372, allocations: 87.61 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.372, allocations: 0 / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.372, allocations: 3.938 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.372, allocations: 0 / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005496/0.3726, allocations: 314 kB / 1.357 GB, free: 5.477 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3726, allocations: 12.03 kB / 1.357 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.3728, allocations: 16.88 kB / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.373, allocations: 144.4 kB / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.373, allocations: 4.312 kB / 1.357 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.373, allocations: 4.375 kB / 1.357 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3732, allocations: 62.23 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3732, allocations: 192 / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3732, allocations: 3.938 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.3732, allocations: 4 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3733, allocations: 35.97 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.3738, allocations: 291.7 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.374, allocations: 54.64 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.3741, allocations: 16.86 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3741, allocations: 7.984 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3741, allocations: 30.56 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3741, allocations: 0 / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002663/0.3744, allocations: 77.7 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3744, allocations: 51.41 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3746, allocations: 137.8 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3746, allocations: 25.7 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.3746, allocations: 100 kB / 1.358 GB, free: 4.289 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3747, allocations: 11.94 kB / 1.358 GB, free: 4.277 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3747, allocations: 17.72 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3749, allocations: 322.8 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.3749, allocations: 15.94 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.375, allocations: 15.98 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.375, allocations: 28.84 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.375, allocations: 4 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.3752, allocations: 65.62 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3752, allocations: 4 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3752, allocations: 4 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3752, allocations: 0 / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.3753, allocations: 7.938 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3753, allocations: 3.938 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.3754, allocations: 19.98 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3754, allocations: 0 / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.0001037/0.3755, allocations: 125.7 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3755, allocations: 7.953 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.3755, allocations: 8.344 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3755, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3755, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3755, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3757, allocations: 160.7 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3757, allocations: 4 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.3758, allocations: 7.984 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3758, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3758, allocations: 4 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3758, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3758, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.376, allocations: 163.4 kB / 1.359 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.376, allocations: 15.89 kB / 1.359 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.376, allocations: 0 / 1.359 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3761, allocations: 7.984 kB / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3762, allocations: 12.36 kB / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3762, allocations: 0 / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.113e-05/0.3763, allocations: 112.9 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3763, allocations: 0 / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002319/0.3765, allocations: 11.94 kB / 1.359 GB, free: 3.055 MB / 1.045 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001359/0.3766, allocations: 99.23 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.3768, allocations: 35.97 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3768, allocations: 0 / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.3769, allocations: 19.94 kB / 1.359 GB, free: 2.895 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3771, allocations: 13.81 kB / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.3775, allocations: 188.4 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3779, allocations: 0.6924 MB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.3779, allocations: 11.44 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3779, allocations: 0 / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of Templates: time 0.002794/0.3807, allocations: 0.977 MB / 1.361 GB, free: 0.957 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.645131252007559]