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.001143/0.001143, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002132/0.003275, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001565/0.001565, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001781/0.003346, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1176/1.13, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.382/2.382, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2636/2.646, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.392e-06/1.392e-06, allocations: 0 / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.473e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001179/0.001194, allocations: 0.8607 MB / 0.8192 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.001966, allocations: 0.9365 MB / 0.8201 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.002027, allocations: 3.938 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.259e-05/0.00209, allocations: 19.81 kB / 0.8201 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.002118, allocations: 11.86 kB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.964e-05/0.002207, allocations: 27.92 kB / 0.8202 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.002299, allocations: 79.77 kB / 0.8203 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.002388, allocations: 27.91 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.002512, allocations: 59.77 kB / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.002571, allocations: 23.91 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.002587, allocations: 4 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.002638, allocations: 8 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.002655, allocations: 11.94 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.002674, allocations: 12 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.002784, allocations: 51.77 kB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.002799, allocations: 4 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002799, allocations: 0 / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.002813, allocations: 0 / 0.8205 GB, free: 0.668 MB / 0.7917 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.0003929/0.003206, allocations: 300.2 kB / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.003237, allocations: 8.031 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.003383, allocations: 94.03 kB / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.003532, allocations: 149.5 kB / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.00354, allocations: 4.375 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-06/0.003548, allocations: 4.375 kB / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.003661, allocations: 62.94 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003668, allocations: 192 / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.003676, allocations: 4.375 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.00368, allocations: 384 / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.003709, allocations: 19.86 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.003932, allocations: 168.3 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.004005, allocations: 38.58 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.00402, allocations: 12.86 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.004032, allocations: 4 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.004052, allocations: 34.59 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.004053, allocations: 0 / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001059/0.004159, allocations: 49.61 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.004187, allocations: 51.41 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.004253, allocations: 141.4 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.00427, allocations: 33.7 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.004302, allocations: 84.14 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.004316, allocations: 11.92 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.004345, allocations: 17.72 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.004418, allocations: 326.8 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-06/0.004428, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-06/0.004436, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.004462, allocations: 20.78 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004464, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.398e-05/0.004508, allocations: 45.62 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.004519, allocations: 7.938 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004523, allocations: 0 / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.004531, allocations: 0 / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.004583, allocations: 4 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.004586, allocations: 0 / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.004611, allocations: 19.88 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.004615, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 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.07e-05/0.004666, allocations: 113.8 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.004679, allocations: 7.938 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.0047, allocations: 12.33 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.004703, allocations: 4 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.004704, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004706, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.022e-05/0.004787, allocations: 73.88 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004787, allocations: 4 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.004801, allocations: 7.984 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.00481, allocations: 11.94 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.004811, allocations: 0 / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.004816, allocations: 3.938 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.004816, allocations: 0 / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.004818, allocations: 3.938 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.429e-05/0.004882, allocations: 135.9 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.004897, allocations: 8 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.004934, allocations: 11.92 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.004966, allocations: 8.016 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.004968, allocations: 4 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.004987, allocations: 28.84 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004987, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001094/0.005097, allocations: 4 kB / 0.8225 GB, free: 14.32 MB / 0.8073 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 6.282e-05/0.00516, allocations: 80.41 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.901e-05/0.005219, allocations: 24.78 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.005222, allocations: 0 / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.005239, allocations: 16.84 kB / 0.8226 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.005373, allocations: 19.94 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.005995, allocations: 176.1 kB / 0.8228 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.006029, allocations: 59.34 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.006055, allocations: 4 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.006111, allocations: 63.36 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.006112, allocations: 0 / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.002394/0.008507, allocations: 0.9989 MB / 0.8239 GB, free: 12.84 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153469946235418]