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.0009549/0.0009549, 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.001024/0.001024, 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.9573/0.9573, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.426/2.426, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.553e-06/1.553e-06, allocations: 0 / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.188e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001477/0.001499, allocations: 0.8608 MB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.002448, allocations: 0.9286 MB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.00254, allocations: 3.938 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.00267, allocations: 19.8 kB / 0.8405 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.002703, allocations: 7.875 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.002865, allocations: 39.89 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.002955, allocations: 71.78 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.00305, allocations: 23.97 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.00317, allocations: 51.77 kB / 0.8407 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.003229, allocations: 19.98 kB / 0.8407 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.003243, allocations: 4 kB / 0.8407 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.003292, allocations: 11.98 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.003309, allocations: 15.92 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.00333, allocations: 19.92 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.829e-05/0.003428, allocations: 51.77 kB / 0.8408 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.624e-06/0.00343, allocations: 4 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.00343, allocations: 0 / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003434, allocations: 0 / 0.8408 GB, free: 12 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.0002865/0.00372, allocations: 284.6 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.003752, allocations: 15.97 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.003848, allocations: 12.92 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.003981, allocations: 137.7 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.003989, allocations: 4.375 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.003997, allocations: 8.375 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.00408, allocations: 58.94 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.004086, allocations: 4.188 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.004092, allocations: 4.312 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.004096, allocations: 4.312 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.004121, allocations: 11.94 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.004344, allocations: 184.2 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.004403, allocations: 38.59 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.197e-05/0.004415, allocations: 12.84 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.004426, allocations: 0 / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.004444, allocations: 38.5 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.004445, allocations: 0 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.773e-05/0.004543, allocations: 49.62 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.004567, allocations: 51.41 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.004631, allocations: 133 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.004646, allocations: 25.7 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.004682, allocations: 104 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.004696, allocations: 3.953 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.00472, allocations: 17.72 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.004785, allocations: 322.8 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.004795, allocations: 4 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.004803, allocations: 4 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.004826, allocations: 13.12 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.004828, allocations: 0 / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.702e-05/0.004875, allocations: 53.61 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.004887, allocations: 11.94 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.004892, allocations: 4 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.004901, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.004939, allocations: 7.984 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.004941, allocations: 0 / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.004964, allocations: 8 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.004968, allocations: 0 / 0.8423 GB, free: 10.25 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 4.981e-05/0.005018, allocations: 113.8 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.005034, allocations: 7.922 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.005053, allocations: 12.34 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005054, allocations: 0 / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.005055, allocations: 0 / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005058, allocations: 0 / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.42e-05/0.005142, allocations: 81.83 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005143, allocations: 7.938 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.005159, allocations: 11.98 kB / 0.8426 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.00516, allocations: 0 / 0.8426 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-06/0.005165, allocations: 0 / 0.8426 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005167, allocations: 7.875 kB / 0.8426 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005167, allocations: 0 / 0.8426 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.268e-05/0.00523, allocations: 131.5 kB / 0.8427 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.005239, allocations: 7.938 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.005253, allocations: 3.984 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.005289, allocations: 7.938 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.005323, allocations: 11.98 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.005325, allocations: 4 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.982e-05/0.005345, allocations: 27.02 kB / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005345, allocations: 0 / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001197/0.005465, allocations: 15.94 kB / 0.8428 GB, free: 9.758 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.407e-05/0.005529, allocations: 80.42 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.241e-05/0.005581, allocations: 16.8 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.005583, allocations: 0 / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.0056, allocations: 16.84 kB / 0.8429 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.005727, allocations: 19.92 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.006067, allocations: 172.1 kB / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.991e-05/0.006097, allocations: 55.36 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.006121, allocations: 8.266 kB / 0.8431 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.006172, allocations: 55.38 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.006173, allocations: 0 / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of Templates: time 0.002335/0.008508, allocations: 0.9868 MB / 0.8441 GB, free: 8.309 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 -s gbode -gbm=radauIIA3 -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.1599187650717795]