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.0009653/0.0009653, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00119/0.00119, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9752/0.9752, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.421/2.421, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.803e-06/1.803e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.481e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001487/0.001502, allocations: 0.8305 MB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.003335, allocations: 0.9247 MB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.003419, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.003538, allocations: 23.8 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.752e-05/0.003576, allocations: 7.875 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.003749, allocations: 35.83 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.003842, allocations: 71.78 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.003927, allocations: 27.97 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.00404, allocations: 55.77 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.00409, allocations: 19.97 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.004105, allocations: 8 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-05/0.004137, allocations: 4 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.004152, allocations: 19.92 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.00417, allocations: 15.92 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.004271, allocations: 59.75 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004273, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004273, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.004276, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 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.0002828/0.004559, allocations: 280.6 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.004588, allocations: 12.03 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.004676, allocations: 12.92 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.0048, allocations: 141.6 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.004807, allocations: 384 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.004818, allocations: 8.375 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.004901, allocations: 58.94 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.004907, allocations: 4.188 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004915, allocations: 4.375 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004921, allocations: 4.312 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.004947, allocations: 15.92 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.005165, allocations: 184.1 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.005236, allocations: 42.64 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.005248, allocations: 8.797 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.005259, allocations: 4 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.005277, allocations: 38.5 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.005278, allocations: 0 / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.511e-05/0.005373, allocations: 41.78 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.0054, allocations: 51.41 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.005473, allocations: 137 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.005488, allocations: 25.7 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.005525, allocations: 99.97 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.005538, allocations: 7.953 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.005564, allocations: 21.7 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.005636, allocations: 318.8 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.005648, allocations: 7.984 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.005658, allocations: 8 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.005681, allocations: 8.859 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005683, allocations: 0 / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.813e-05/0.005731, allocations: 49.98 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005742, allocations: 11.94 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005746, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005758, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.005799, allocations: 7.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-06/0.005802, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.005824, allocations: 7.984 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.005829, allocations: 4 kB / 0.8423 GB, free: 10.28 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.782e-05/0.005887, allocations: 117.8 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.0059, allocations: 3.938 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.005924, allocations: 12.34 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-07/0.005925, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.005928, allocations: 3.984 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00593, allocations: 0 / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.006017, allocations: 81.83 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006017, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.006029, allocations: 7.938 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-07/0.00603, allocations: 4 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.006034, allocations: 0 / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006036, allocations: 3.938 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006036, allocations: 0 / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.083e-05/0.006117, allocations: 139.5 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.006126, allocations: 7.938 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.006142, allocations: 4 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.006179, allocations: 11.94 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.006214, allocations: 11.97 kB / 0.8426 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.006216, allocations: 0 / 0.8426 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.211e-05/0.006238, allocations: 28.83 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006238, allocations: 4 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001183/0.006357, allocations: 11.95 kB / 0.8427 GB, free: 9.785 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 8.016e-05/0.006437, allocations: 72.42 kB / 0.8428 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.376e-05/0.006491, allocations: 20.84 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006492, allocations: 0 / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.00651, allocations: 16.8 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.006631, allocations: 8 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.006976, allocations: 172.1 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.299e-05/0.007009, allocations: 59.34 kB / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.007046, allocations: 4 kB / 0.843 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.007099, allocations: 67.34 kB / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of SimCode: time 4.9e-07/0.007099, allocations: 0 / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of Templates: time 0.002262/0.009361, allocations: 0.9933 MB / 0.8441 GB, free: 8.34 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 -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","",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.318111605010927]