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.001132/0.001132, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001349/0.001349, allocations: 169 kB / 23.27 MB, free: 1.223 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.9401/0.9401, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.386/2.386, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.585e-06/2.585e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.945e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001499/0.001528, allocations: 0.8271 MB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.002438, allocations: 0.921 MB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.002516, allocations: 3.938 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.002636, allocations: 23.8 kB / 0.8916 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.00267, allocations: 11.86 kB / 0.8916 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.002844, allocations: 31.84 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.002935, allocations: 71.78 kB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003037, allocations: 23.97 kB / 0.8917 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.003175, allocations: 43.91 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.003237, allocations: 27.89 kB / 0.8918 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.003254, allocations: 8 kB / 0.8918 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.003297, allocations: 8 kB / 0.8918 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.003313, allocations: 15.94 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.003334, allocations: 15.92 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003446, allocations: 59.7 kB / 0.8919 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003449, allocations: 0 / 0.8919 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00345, allocations: 0 / 0.8919 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003456, allocations: 3.984 kB / 0.8919 GB, free: 7.594 MB / 0.8542 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.0003692/0.003825, allocations: 404.3 kB / 0.8922 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.003861, allocations: 12.03 kB / 0.8923 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.003974, allocations: 24.88 kB / 0.8923 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.004108, allocations: 144.4 kB / 0.8924 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.00412, allocations: 4.375 kB / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.004128, allocations: 4.375 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.549e-05/0.004223, allocations: 66.88 kB / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.004229, allocations: 192 / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.004236, allocations: 384 / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.004243, allocations: 4.375 kB / 0.8925 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.004269, allocations: 15.92 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.004536, allocations: 280.2 kB / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.004607, allocations: 31.06 kB / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.004623, allocations: 23.77 kB / 0.8928 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.004638, allocations: 0 / 0.8928 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.00466, allocations: 41.33 kB / 0.8929 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004661, allocations: 96 / 0.8929 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001283/0.004789, allocations: 49.58 kB / 0.8929 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.004814, allocations: 51.41 kB / 0.893 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.004893, allocations: 200.2 kB / 0.8932 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.004908, allocations: 25.7 kB / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.004962, allocations: 146.8 kB / 0.8933 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.004976, allocations: 11.94 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.005003, allocations: 19.38 kB / 0.8934 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.005107, allocations: 0.4884 MB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.00512, allocations: 4 kB / 0.8938 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.005132, allocations: 8.172 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.005162, allocations: 23.7 kB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005164, allocations: 0 / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.189e-05/0.005226, allocations: 53.58 kB / 0.8939 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.005236, allocations: 8 kB / 0.8939 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.00524, allocations: 0 / 0.8939 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.005251, allocations: 0 / 0.8939 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.005299, allocations: 4 kB / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005301, allocations: 0 / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.005326, allocations: 11.98 kB / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.00533, allocations: 0 / 0.8939 GB, free: 5.266 MB / 0.8542 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 6.604e-05/0.005396, allocations: 156.6 kB / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.005414, allocations: 15.83 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.005439, allocations: 16.33 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005442, allocations: 4 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005443, allocations: 0 / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005446, allocations: 0 / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.047e-05/0.005536, allocations: 109.2 kB / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005538, allocations: 0 / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.005555, allocations: 4 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.005557, allocations: 0 / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.005563, allocations: 4 kB / 0.8942 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005565, allocations: 3.938 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.005566, allocations: 3.938 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.005671, allocations: 203.9 kB / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.00568, allocations: 7.953 kB / 0.8944 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.005695, allocations: 8 kB / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.005735, allocations: 11.94 kB / 0.8945 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.005767, allocations: 11.91 kB / 0.8945 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.005771, allocations: 4 kB / 0.8945 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.005829, allocations: 136.9 kB / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005829, allocations: 0 / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001322/0.005961, allocations: 11.94 kB / 0.8946 GB, free: 4.504 MB / 0.8542 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 9.658e-05/0.006057, allocations: 99.25 kB / 0.8947 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.481e-05/0.006122, allocations: 19.67 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.006124, allocations: 4 kB / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.006144, allocations: 15.67 kB / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.006323, allocations: 11.94 kB / 0.8948 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.006699, allocations: 170.2 kB / 0.8949 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.326e-05/0.006733, allocations: 59.34 kB / 0.895 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.006758, allocations: 11.98 kB / 0.895 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.006816, allocations: 82.19 kB / 0.8951 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.006816, allocations: 0 / 0.8951 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of Templates: time 0.002503/0.00932, allocations: 1.008 MB / 0.8961 GB, free: 2.984 MB / 0.8542 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.145194735843688]