Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001323/0.001323, allocations: 122.3 kB / 17.13 MB, free: 5.941 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.001389/0.001389, allocations: 213.8 kB / 20.1 MB, free: 2.992 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.991/2.991, allocations: 0.49 GB / 0.7923 GB, free: 1.449 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002014/0.002014, allocations: 71.89 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001788/1.036, allocations: 0.8257 MB / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/1.037, allocations: 0.9142 MB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/1.037, allocations: 6.219 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/1.037, allocations: 11.25 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/1.037, allocations: 14.16 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/1.037, allocations: 35.59 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000106/1.037, allocations: 71.2 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/1.037, allocations: 31.94 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/1.037, allocations: 37.86 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/1.037, allocations: 32.41 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/1.037, allocations: 5.906 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/1.037, allocations: 9.125 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/1.037, allocations: 11.33 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/1.037, allocations: 29.2 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/1.038, allocations: 85.56 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.038, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.152e-06/1.038, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.038, allocations: 10.75 kB / 1.324 GB, free: 23.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004401/1.038, allocations: 388 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.038, allocations: 14.39 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/1.038, allocations: 19.92 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/1.038, allocations: 203.9 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/1.038, allocations: 7.219 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/1.038, allocations: 7.25 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.039, allocations: 55.09 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.039, allocations: 4.125 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.039, allocations: 6.531 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.039, allocations: 0 / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.958e-05/1.039, allocations: 32.48 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/1.039, allocations: 325.4 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/1.039, allocations: 45.83 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/1.039, allocations: 20.25 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/1.039, allocations: 0 / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/1.039, allocations: 37.19 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/1.039, allocations: 4 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002251/1.039, allocations: 75.98 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/1.04, allocations: 57.27 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/1.04, allocations: 133 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/1.04, allocations: 29.64 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/1.04, allocations: 99.52 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/1.04, allocations: 11.89 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/1.04, allocations: 22.02 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/1.04, allocations: 324.7 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-05/1.04, allocations: 16 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/1.04, allocations: 15.89 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/1.04, allocations: 27.44 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.04, allocations: 0 / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/1.04, allocations: 70.81 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.04, allocations: 9.906 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.04, allocations: 3.562 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.04, allocations: 0 / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/1.04, allocations: 5.625 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/1.04, allocations: 0 / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/1.04, allocations: 9.391 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/1.04, allocations: 0 / 1.326 GB, free: 21.77 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 (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 5.37e-05/1.04, allocations: 119.7 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/1.04, allocations: 10.64 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/1.04, allocations: 14.22 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.04, allocations: 0 / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.04, allocations: 0 / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/1.04, allocations: 0 / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/1.04, allocations: 188.5 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.04, allocations: 0 / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/1.04, allocations: 6.781 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/1.04, allocations: 0 / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/1.04, allocations: 5.922 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.04, allocations: 0 / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/1.04, allocations: 4 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/1.041, allocations: 157.9 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/1.041, allocations: 83.91 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.041, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/1.041, allocations: 11.5 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/1.041, allocations: 10.12 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/1.041, allocations: 11.28 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.165e-05/1.041, allocations: 108.5 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.041, allocations: 0 / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002163/1.041, allocations: 9.781 kB / 1.327 GB, free: 21.07 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 (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.0001092/1.041, allocations: 103.9 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001461/1.041, allocations: 37.95 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.041, allocations: 0 / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.134e-05/1.041, allocations: 21.7 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/1.042, allocations: 12.61 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/1.042, allocations: 205.4 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/1.042, allocations: 0.6908 MB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/1.042, allocations: 13.8 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.042, allocations: 0 / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of Templates: time 0.002317/1.044, allocations: 0.9814 MB / 1.329 GB, free: 19.99 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.488730134005891]