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.002213/0.002213, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.002506/0.002506, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.5/1.5, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.929/2.929, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.002469/0.002469, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.0024/1.045, allocations: 0.8467 MB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00129/1.046, allocations: 0.9226 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/1.046, allocations: 6.156 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/1.046, allocations: 16.3 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/1.046, allocations: 23.34 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/1.047, allocations: 30.66 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/1.047, allocations: 102.9 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/1.047, allocations: 35.03 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/1.047, allocations: 51.56 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/1.047, allocations: 33.59 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/1.047, allocations: 7.625 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/1.047, allocations: 14.95 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/1.047, allocations: 20.73 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/1.047, allocations: 35.08 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/1.047, allocations: 104.7 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.047, allocations: 1.375 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/1.047, allocations: 0 / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.048, allocations: 0 / 1.189 GB, free: 14.75 MB / 1.076 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.0006154/1.048, allocations: 340.3 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.048, allocations: 10.42 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/1.048, allocations: 22.27 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/1.049, allocations: 139.3 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.049, allocations: 7.625 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/1.049, allocations: 4.359 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/1.049, allocations: 92.64 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.049, allocations: 192 / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.049, allocations: 13.09 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.049, allocations: 5.406 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/1.049, allocations: 65.09 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/1.05, allocations: 284.7 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/1.05, allocations: 62.28 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/1.05, allocations: 34.78 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/1.05, allocations: 1.312 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/1.05, allocations: 36.27 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/1.05, allocations: 1.156 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004939/1.051, allocations: 118.3 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/1.051, allocations: 53.41 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.051, allocations: 141.4 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/1.051, allocations: 26.42 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/1.051, allocations: 105.3 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/1.051, allocations: 13.83 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/1.051, allocations: 24.39 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/1.051, allocations: 319.5 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/1.051, allocations: 31.58 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/1.051, allocations: 32.11 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/1.051, allocations: 58.58 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/1.051, allocations: 1.188 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002784/1.052, allocations: 96.41 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.052, allocations: 8.844 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.052, allocations: 192 / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.052, allocations: 1.156 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.052, allocations: 18.98 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.052, allocations: 1.469 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/1.052, allocations: 22.73 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/1.052, allocations: 1.844 kB / 1.191 GB, free: 13.07 MB / 1.076 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 6.907e-05/1.052, allocations: 115.6 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/1.052, allocations: 6.734 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/1.052, allocations: 11.94 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.052, allocations: 1.5 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.052, allocations: 4.75 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.052, allocations: 3.938 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/1.052, allocations: 131 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.052, allocations: 1.312 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.364e-05/1.052, allocations: 15.19 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.052, allocations: 0 / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/1.052, allocations: 2.016 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.052, allocations: 0.7031 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.052, allocations: 1.312 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/1.053, allocations: 194.9 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/1.053, allocations: 6.109 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/1.053, allocations: 1.125 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/1.053, allocations: 19.52 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/1.053, allocations: 9.125 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/1.053, allocations: 1.734 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.437e-05/1.053, allocations: 104 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.053, allocations: 0 / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002289/1.053, allocations: 14.28 kB / 1.192 GB, free: 12.54 MB / 1.076 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.0001052/1.053, allocations: 110.5 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003118/1.054, allocations: 64.8 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.054, allocations: 0 / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/1.054, allocations: 34.94 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/1.054, allocations: 18.86 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/1.054, allocations: 187.9 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.096e-05/1.054, allocations: 77.72 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.376e-05/1.054, allocations: 4.75 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/1.055, allocations: 17 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.055, allocations: 0 / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of Templates: time 0.00426/1.059, allocations: 1.087 MB / 1.193 GB, free: 12.04 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.118280856055208]