Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001015/0.001015, allocations: 80.94 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.0009981/0.0009981, allocations: 173.4 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.9997/0.9997, allocations: 177.1 MB / 203.8 MB, free: 5.508 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.6/2.6, allocations: 438.8 MB / 0.6826 GB, free: 13.58 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.653e-05, allocations: 8.641 kB / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002382/0.002409, allocations: 0.9016 MB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003769, allocations: 0.9404 MB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003872, allocations: 3.938 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.004005, allocations: 11.86 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.004057, allocations: 19.81 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.004263, allocations: 43.81 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004421, allocations: 107.7 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.00455, allocations: 35.94 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.004758, allocations: 59.84 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.004842, allocations: 35.88 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.004868, allocations: 8 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.00494, allocations: 8 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.004966, allocations: 15.94 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.005018, allocations: 27.91 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.005178, allocations: 67.73 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.005181, allocations: 0 / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005182, allocations: 4 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005187, allocations: 0 / 0.8409 GB, free: 11.77 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004411/0.005628, allocations: 308.5 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.005667, allocations: 8.625 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.005814, allocations: 16.92 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.006011, allocations: 137.6 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.006024, allocations: 4.375 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.006038, allocations: 8.375 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.006198, allocations: 86.03 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006207, allocations: 192 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.006218, allocations: 4.375 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.006226, allocations: 4.375 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.737e-05/0.006283, allocations: 19.88 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.006646, allocations: 208 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.006749, allocations: 34.5 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.006773, allocations: 16.86 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.00679, allocations: 7.984 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.006815, allocations: 30.56 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.006817, allocations: 0 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001561/0.006973, allocations: 53.7 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.007007, allocations: 51.41 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.007106, allocations: 136.8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.00713, allocations: 29.7 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.007183, allocations: 108 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.007207, allocations: 3.953 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.00725, allocations: 21.7 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.007355, allocations: 322.8 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.007375, allocations: 8 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.007392, allocations: 4 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.007437, allocations: 20.97 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007439, allocations: 0 / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.275e-05/0.007532, allocations: 57.56 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.007546, allocations: 4 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.007551, allocations: 0 / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.007564, allocations: 0 / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.007645, allocations: 11.98 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007649, allocations: 0 / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.007699, allocations: 11.98 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.007709, allocations: 4 kB / 0.8426 GB, free: 9.906 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 (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 7.917e-05/0.007788, allocations: 105.8 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.007819, allocations: 11.94 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.007854, allocations: 16.33 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007857, allocations: 0 / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.007859, allocations: 0 / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.007862, allocations: 0 / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.008018, allocations: 81.86 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008019, allocations: 0 / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.00808, allocations: 19.92 kB / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.008085, allocations: 3.938 kB / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.008092, allocations: 3.938 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.008094, allocations: 0 / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008095, allocations: 0 / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.008238, allocations: 139.5 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.008255, allocations: 7.953 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.008279, allocations: 7.938 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.008363, allocations: 7.984 kB / 0.843 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.008423, allocations: 12.05 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.008431, allocations: 8 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.008469, allocations: 24.83 kB / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008469, allocations: 0 / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000245/0.008714, allocations: 19.89 kB / 0.843 GB, free: 9.398 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 (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 0.0001304/0.008845, allocations: 88.34 kB / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.058e-05/0.008935, allocations: 16.86 kB / 0.8431 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.008939, allocations: 0 / 0.8431 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.008974, allocations: 16.84 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.009217, allocations: 19.98 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.009785, allocations: 192.5 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.009836, allocations: 63.34 kB / 0.8434 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.009883, allocations: 4.312 kB / 0.8434 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.009972, allocations: 71.34 kB / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of SimCode: time 1.272e-06/0.009974, allocations: 0 / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of Templates: time 0.003848/0.01382, allocations: 1.107 MB / 0.8446 GB, free: 7.789 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.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.56928763911128]