Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001636/0.001636, allocations: 102.1 kB / 19.7 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.001944/0.001944, allocations: 218.9 kB / 23.01 MB, free: 4.609 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: 230.6 MB / 256.8 MB, free: 8.031 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.267/3.267, allocations: 0.505 GB / 0.8108 GB, free: 22.11 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [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.002354/0.002354, allocations: 72.41 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3688, allocations: 180.2 MB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002158/0.371, allocations: 0.8699 MB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3723, allocations: 0.9328 MB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.3724, allocations: 8 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.3725, allocations: 15.75 kB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.3726, allocations: 19.86 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3728, allocations: 35.89 kB / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3729, allocations: 103.7 kB / 1.356 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3731, allocations: 31.98 kB / 1.356 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3733, allocations: 47.78 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.3734, allocations: 43.83 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3734, allocations: 12 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.3734, allocations: 8 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.3734, allocations: 19.94 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.3735, allocations: 39.73 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3737, allocations: 107.5 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3737, allocations: 0 / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3737, allocations: 0 / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3737, allocations: 3.984 kB / 1.356 GB, free: 5.621 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006683/0.3744, allocations: 345.9 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3744, allocations: 8.031 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3746, allocations: 24.81 kB / 1.357 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.3748, allocations: 144.2 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3748, allocations: 8.375 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3748, allocations: 4.375 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.3751, allocations: 95.08 kB / 1.357 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.3751, allocations: 192 / 1.357 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.3751, allocations: 7.938 kB / 1.357 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3751, allocations: 3.984 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.3754, allocations: 67.94 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.3759, allocations: 319.7 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3762, allocations: 70.47 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3763, allocations: 36.92 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3763, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3763, allocations: 38.56 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3763, allocations: 0 / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0005161/0.3769, allocations: 117.6 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3769, allocations: 51.41 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.377, allocations: 141.6 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3771, allocations: 29.7 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.3771, allocations: 112 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3771, allocations: 11.89 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3772, allocations: 17.72 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3774, allocations: 318.8 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3775, allocations: 31.97 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3776, allocations: 27.97 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.3778, allocations: 64.94 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3778, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002617/0.3781, allocations: 97.59 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3781, allocations: 6.188 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3781, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3781, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3782, allocations: 23.92 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3782, allocations: 3.938 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.3783, allocations: 11.98 kB / 1.359 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3783, allocations: 7.984 kB / 1.359 GB, free: 3.234 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 (5): * Single equations (assignments): 5 * 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.0001016/0.3784, allocations: 118.4 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3785, allocations: 7.953 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.3785, allocations: 8.344 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3785, allocations: 4 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3785, allocations: 7.938 kB / 1.359 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3785, allocations: 0 / 1.359 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3787, allocations: 164.7 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3787, allocations: 3.938 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.474e-05/0.3788, allocations: 11.98 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3788, allocations: 0 / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3788, allocations: 0 / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3788, allocations: 0 / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3788, allocations: 3.938 kB / 1.359 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.3791, allocations: 195.4 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.3791, allocations: 3.953 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.3792, allocations: 4 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3793, allocations: 15.97 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.3794, allocations: 19.98 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3794, allocations: 7.938 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.217e-05/0.3794, allocations: 99.27 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3794, allocations: 0 / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00023/0.3797, allocations: 19.89 kB / 1.359 GB, free: 2.48 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 (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.0001369/0.3798, allocations: 95.47 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.3801, allocations: 79.86 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3801, allocations: 0 / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3802, allocations: 23.98 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3805, allocations: 15.98 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.3809, allocations: 209 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3813, allocations: 0.7039 MB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.3814, allocations: 11.44 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.3814, allocations: 0 / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of Templates: time 0.002997/0.3844, allocations: 1.129 MB / 1.361 GB, free: 164 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.706989888014505]