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.001819/0.001819, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.002312/0.002312, allocations: 159.6 kB / 22.46 MB, free: 5.375 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.908/2.908, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.29e-05, allocations: 2.281 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002082/0.002115, allocations: 0.837 MB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.003552, allocations: 0.9171 MB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.003657, allocations: 7.938 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.003815, allocations: 19.8 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.003867, allocations: 19.86 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.004118, allocations: 35.89 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.00429, allocations: 103.7 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.00443, allocations: 31.91 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.004638, allocations: 59.88 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.004724, allocations: 31.91 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.004751, allocations: 8 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.004809, allocations: 8 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.004838, allocations: 27.91 kB / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.004883, allocations: 23.92 kB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.005085, allocations: 111.6 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005088, allocations: 0 / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005089, allocations: 0 / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.005095, allocations: 0 / 1.002 GB, free: 4.98 MB / 0.9512 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.0006731/0.005768, allocations: 337.9 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.005808, allocations: 8.031 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.005972, allocations: 24.83 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.006253, allocations: 141.7 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006265, allocations: 384 / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.006281, allocations: 12.31 kB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.006545, allocations: 100.5 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.006555, allocations: 192 / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.006566, allocations: 384 / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.006577, allocations: 4.375 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.00685, allocations: 75.88 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.007409, allocations: 280.2 kB / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.007658, allocations: 58.55 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.007791, allocations: 44.86 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.007812, allocations: 0 / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.00785, allocations: 34.5 kB / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.007851, allocations: 0 / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0005081/0.008359, allocations: 117.6 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.008412, allocations: 51.41 kB / 1.004 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.008558, allocations: 136 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.008584, allocations: 33.7 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.008673, allocations: 104.1 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.008697, allocations: 15.84 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.008749, allocations: 21.7 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.008914, allocations: 318.8 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.00904, allocations: 27.97 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.009157, allocations: 36.09 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.009394, allocations: 64.75 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009396, allocations: 0 / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002844/0.00968, allocations: 97.78 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.009698, allocations: 4 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009702, allocations: 0 / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.009721, allocations: 3.984 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.009834, allocations: 11.98 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.009839, allocations: 4 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.009953, allocations: 23.97 kB / 1.004 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.009961, allocations: 0 / 1.004 GB, free: 2.66 MB / 0.9512 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.0001084/0.01007, allocations: 121.7 kB / 1.005 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.0101, allocations: 7.953 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.01014, allocations: 12.33 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01014, allocations: 4 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01015, allocations: 3.938 kB / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.01015, allocations: 0 / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.01032, allocations: 129.2 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.01032, allocations: 0 / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.01041, allocations: 15.98 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01041, allocations: 0 / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01042, allocations: 4 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01042, allocations: 0 / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01042, allocations: 0 / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.01078, allocations: 183.4 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.0108, allocations: 15.94 kB / 1.005 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.01082, allocations: 8.062 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.01096, allocations: 15.98 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.01101, allocations: 11.91 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.01102, allocations: 7.938 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.01109, allocations: 105 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01109, allocations: 0 / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000231/0.01132, allocations: 16 kB / 1.005 GB, free: 1.949 MB / 0.9512 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.0001833/0.01151, allocations: 99.23 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.01181, allocations: 67.94 kB / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01181, allocations: 0 / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.01195, allocations: 31.91 kB / 1.005 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.01224, allocations: 15.94 kB / 1.005 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.0127, allocations: 189 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.01279, allocations: 79.33 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.01283, allocations: 3.984 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.01287, allocations: 12.5 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.01287, allocations: 0 / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of Templates: time 0.004033/0.01691, allocations: 1.082 MB / 1.007 GB, free: 344 kB / 0.9512 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/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: 8.40699790418148]