Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000789/0.000789, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001843, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007724/0.0007724, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009238/0.001696, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9742/0.9742, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1273/1.102, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.89/1.89, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5551/2.446, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7294 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.577e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001406/0.001422, allocations: 0.8946 MB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.002281, allocations: 0.9549 MB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.002376, allocations: 7.938 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.509e-05/0.002451, allocations: 18.38 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.002488, allocations: 8.891 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.002605, allocations: 50.66 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002725, allocations: 98.89 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.002838, allocations: 35.95 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.003002, allocations: 71.77 kB / 0.7315 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.003071, allocations: 41.22 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.003091, allocations: 8 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.003155, allocations: 8 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.003171, allocations: 15.94 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.003196, allocations: 24.62 kB / 0.7316 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.003323, allocations: 51.83 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.003338, allocations: 4.469 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003339, allocations: 0.875 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.003358, allocations: 0 / 0.7316 GB, free: 2.199 MB / 0.698 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.0004378/0.003795, allocations: 317.1 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.003829, allocations: 8.031 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.003971, allocations: 99.47 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.004124, allocations: 145.5 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.004135, allocations: 9.031 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.004144, allocations: 4.375 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.004264, allocations: 79.61 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.004273, allocations: 4.734 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.00428, allocations: 2.156 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.004287, allocations: 4.375 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.004318, allocations: 15.92 kB / 0.7323 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.0046, allocations: 196.2 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.004695, allocations: 44.56 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.004715, allocations: 16.88 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.004733, allocations: 0 / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.004755, allocations: 30.56 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.004756, allocations: 1.281 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001337/0.004889, allocations: 45.69 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.00493, allocations: 51.41 kB / 0.7327 GB, free: 1.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.005004, allocations: 137.6 kB / 0.7328 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.005025, allocations: 30.58 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.00507, allocations: 104 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.005086, allocations: 8.828 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.005118, allocations: 17.7 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.005204, allocations: 323.3 kB / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.005217, allocations: 7.984 kB / 0.7333 GB, free: 384 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.005228, allocations: 5.562 kB / 0.7333 GB, free: 380 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.005261, allocations: 24.83 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005263, allocations: 0 / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.318e-05/0.005316, allocations: 49.62 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005327, allocations: 5.219 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005331, allocations: 0 / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.00534, allocations: 4.125 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.005407, allocations: 20.67 kB / 0.7334 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.005412, allocations: 3.984 kB / 0.7334 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.005441, allocations: 12.92 kB / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005446, allocations: 0 / 0.7334 GB, free: 252 kB / 0.698 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.489e-05/0.005511, allocations: 114.9 kB / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.005525, allocations: 7.938 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.005552, allocations: 13.06 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.005555, allocations: 0 / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.005557, allocations: 0.5312 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.005561, allocations: 0 / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.005664, allocations: 86.83 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005665, allocations: 0 / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.005693, allocations: 8.734 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.005707, allocations: 15.95 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.005709, allocations: 1.781 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.005714, allocations: 0 / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.005716, allocations: 0 / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005717, allocations: 0 / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.005819, allocations: 151.5 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.00584, allocations: 5.094 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.005886, allocations: 11.98 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.005939, allocations: 12.2 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.005944, allocations: 4.75 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.005966, allocations: 20.84 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005966, allocations: 0.75 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001265/0.006093, allocations: 12 kB / 0.7338 GB, free: 15.75 MB / 0.7136 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 8.962e-05/0.006182, allocations: 85.64 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.31e-05/0.006265, allocations: 28.78 kB / 0.7339 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.006271, allocations: 4 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.006296, allocations: 16.84 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.006471, allocations: 17.33 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.007221, allocations: 201.4 kB / 0.7342 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.194e-05/0.007263, allocations: 60.41 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.007298, allocations: 6.156 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.007367, allocations: 63.36 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of SimCode: time 1.263e-06/0.007369, allocations: 0 / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.003107/0.01048, allocations: 1.144 MB / 0.7354 GB, free: 14.14 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.043922580778599]