Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002359/0.002359, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002795/0.002795, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.447/3.447, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.318e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002152/0.002185, allocations: 0.8173 MB / 0.8783 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.003717, allocations: 0.9183 MB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.003809, allocations: 4.906 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.003983, allocations: 9.953 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.004033, allocations: 17.41 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.004257, allocations: 23.97 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.004409, allocations: 80.83 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.004542, allocations: 23.92 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.004739, allocations: 52.92 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.004838, allocations: 23.91 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.004867, allocations: 4 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.267e-05/0.00492, allocations: 9.188 kB / 0.8795 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.004949, allocations: 11.92 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.00499, allocations: 23.92 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.00519, allocations: 81.55 kB / 0.8796 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.005197, allocations: 4 kB / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005198, allocations: 0 / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.005204, allocations: 0 / 0.8796 GB, free: 4.504 MB / 0.8386 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.0007356/0.00594, allocations: 414.7 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.005989, allocations: 8.031 kB / 0.88 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.006192, allocations: 24.83 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.006477, allocations: 155.1 kB / 0.8801 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.00649, allocations: 384 / 0.8801 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.006505, allocations: 4.375 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.006676, allocations: 62.95 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.006686, allocations: 1.844 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.006697, allocations: 384 / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.006706, allocations: 4.359 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.006832, allocations: 35.86 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.007423, allocations: 304.2 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.007593, allocations: 56.42 kB / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.007668, allocations: 27.77 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.007687, allocations: 1.594 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.007719, allocations: 33.39 kB / 0.8806 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.00772, allocations: 0 / 0.8806 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000281/0.008001, allocations: 73.62 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.00806, allocations: 63.34 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.008259, allocations: 197.9 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.008286, allocations: 29.7 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.00841, allocations: 154.8 kB / 0.8811 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.008428, allocations: 3.953 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.008484, allocations: 27.38 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0006428/0.009127, allocations: 0.4923 MB / 0.8817 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.00918, allocations: 12 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.009223, allocations: 15.98 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/0.009308, allocations: 23.69 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.00931, allocations: 11.94 kB / 0.8817 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/0.009461, allocations: 73.5 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.009476, allocations: 4 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00948, allocations: 0 / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.009495, allocations: 4 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.009565, allocations: 0 / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.009572, allocations: 0 / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.009633, allocations: 7.984 kB / 0.8818 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.00964, allocations: 4 kB / 0.8818 GB, free: 2.012 MB / 0.8386 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 0.0001407/0.009781, allocations: 168.6 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.009849, allocations: 11.89 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.009885, allocations: 8.344 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.009886, allocations: 0 / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.009895, allocations: 7.984 kB / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009898, allocations: 0 / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.0101, allocations: 132.6 kB / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0101, allocations: 4 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.01013, allocations: 3.984 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.01014, allocations: 3.938 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01016, allocations: 8 kB / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01016, allocations: 0 / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01016, allocations: 0 / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.01039, allocations: 212.1 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.01041, allocations: 11.92 kB / 0.8824 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01044, allocations: 8 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.01056, allocations: 4 kB / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.01062, allocations: 11.97 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.01062, allocations: 0 / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001162/0.01074, allocations: 153.5 kB / 0.8825 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01074, allocations: 0 / 0.8825 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002197/0.01096, allocations: 12 kB / 0.8825 GB, free: 1.199 MB / 0.8386 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.0001595/0.01112, allocations: 93.5 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.01129, allocations: 43.61 kB / 0.8827 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01129, allocations: 0 / 0.8827 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.01136, allocations: 27.67 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01164, allocations: 11.94 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.01207, allocations: 181.8 kB / 0.8829 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.79e-05/0.01216, allocations: 73.22 kB / 0.8829 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.0122, allocations: 7.984 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.01224, allocations: 12.5 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.01224, allocations: 0 / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of Templates: time 0.004258/0.0165, allocations: 0.9216 MB / 0.8839 GB, free: 15.79 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.587854465004057]