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.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.001958/0.001958, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002238/0.002238, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.561/1.561, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 68.08 kB / 1.136 GB, free: 12.37 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 173.7 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002056/1.157, allocations: 0.8627 MB / 1.306 GB, free: 32.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00095/1.158, allocations: 0.9044 MB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.852e-05/1.158, allocations: 2.906 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/1.158, allocations: 15.23 kB / 1.307 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/1.158, allocations: 14.66 kB / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/1.159, allocations: 32.81 kB / 1.307 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/1.159, allocations: 106.4 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/1.159, allocations: 34.06 kB / 1.307 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/1.159, allocations: 40.41 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/1.159, allocations: 42.08 kB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/1.159, allocations: 12.91 kB / 1.308 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/1.159, allocations: 5.812 kB / 1.308 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/1.159, allocations: 18.33 kB / 1.308 GB, free: 32.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/1.159, allocations: 44.33 kB / 1.308 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/1.159, allocations: 99.34 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.159, allocations: 0 / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.159, allocations: 4 kB / 1.308 GB, free: 31.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.159, allocations: 0 / 1.308 GB, free: 31.94 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005937/1.16, allocations: 411.6 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.16, allocations: 10.31 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/1.16, allocations: 10.05 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/1.16, allocations: 207.8 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/1.16, allocations: 7.281 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/1.16, allocations: 3.562 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/1.16, allocations: 92.69 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.16, allocations: 192 / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/1.161, allocations: 7.938 kB / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.161, allocations: 6.891 kB / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/1.161, allocations: 74.62 kB / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/1.161, allocations: 350.3 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/1.161, allocations: 70.41 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/1.162, allocations: 39.42 kB / 1.309 GB, free: 30.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/1.162, allocations: 0 / 1.309 GB, free: 30.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/1.162, allocations: 30.56 kB / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/1.162, allocations: 0 / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004118/1.162, allocations: 118.1 kB / 1.309 GB, free: 30.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/1.162, allocations: 59.34 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/1.162, allocations: 138 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/1.162, allocations: 31.62 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/1.162, allocations: 100.6 kB / 1.309 GB, free: 30.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/1.162, allocations: 7.891 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/1.162, allocations: 19.09 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/1.162, allocations: 320.9 kB / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/1.162, allocations: 34.97 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/1.162, allocations: 29.55 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/1.163, allocations: 51.17 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.163, allocations: 3.938 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002242/1.163, allocations: 110.3 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.163, allocations: 8.5 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.163, allocations: 0 / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.163, allocations: 0 / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.163, allocations: 11.83 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.163, allocations: 7.875 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/1.163, allocations: 19.47 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/1.163, allocations: 2.812 kB / 1.31 GB, free: 30.02 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: 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.375e-05/1.163, allocations: 120.2 kB / 1.31 GB, free: 29.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/1.163, allocations: 6.891 kB / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/1.163, allocations: 11.09 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.163, allocations: 0 / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.163, allocations: 3.938 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.163, allocations: 2.844 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.163, allocations: 189.1 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.163, allocations: 0 / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/1.163, allocations: 16.22 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.163, allocations: 4 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/1.163, allocations: 0 / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.163, allocations: 0 / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.163, allocations: 6.875 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/1.164, allocations: 190.8 kB / 1.31 GB, free: 29.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/1.164, allocations: 85.06 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/1.164, allocations: 2.875 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.164, allocations: 15.39 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/1.164, allocations: 18.44 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/1.164, allocations: 2.812 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.4e-05/1.164, allocations: 97.92 kB / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.164, allocations: 0 / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002245/1.164, allocations: 16.12 kB / 1.311 GB, free: 29.32 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 (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.0001563/1.164, allocations: 104.2 kB / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002821/1.165, allocations: 73.94 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.165, allocations: 0 / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/1.165, allocations: 28.39 kB / 1.311 GB, free: 29.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/1.165, allocations: 16.95 kB / 1.311 GB, free: 29.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/1.165, allocations: 210.7 kB / 1.311 GB, free: 29.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/1.166, allocations: 0.6966 MB / 1.312 GB, free: 28.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.789e-05/1.166, allocations: 9.406 kB / 1.312 GB, free: 28.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/1.166, allocations: 13.97 kB / 1.312 GB, free: 28.33 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.166, allocations: 0 / 1.312 GB, free: 28.33 MB / 1.061 GB Notification: Performance of Templates: time 0.003808/1.17, allocations: 1.033 MB / 1.313 GB, free: 28.23 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] 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/jenkins/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.913391601294279]