Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001676/0.001676, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001835/0.001835, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.854/1.854, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.787e-05, allocations: 3.094 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001677/0.001705, allocations: 0.8171 MB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.002685, allocations: 0.9373 MB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.002793, allocations: 4 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.002928, allocations: 9.281 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.002963, allocations: 11.88 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.003172, allocations: 39.83 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.00328, allocations: 72.78 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003392, allocations: 19.98 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.003536, allocations: 49.45 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.003599, allocations: 23.91 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.003618, allocations: 8 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.003658, allocations: 15.92 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.003673, allocations: 14.06 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.0037, allocations: 15.98 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.003835, allocations: 59.69 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003838, allocations: 0 / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.794e-06/0.00384, allocations: 0 / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.003847, allocations: 0 / 0.7892 GB, free: 10.64 MB / 0.7448 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.0004733/0.00432, allocations: 401.9 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.004363, allocations: 12.03 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.004507, allocations: 12.89 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.004706, allocations: 153.4 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.004719, allocations: 12.86 kB / 0.7898 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.00473, allocations: 5.625 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.004857, allocations: 70.88 kB / 0.7899 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.004864, allocations: 192 / 0.7899 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.004874, allocations: 384 / 0.7899 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.004882, allocations: 2.469 kB / 0.7899 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.004921, allocations: 15.92 kB / 0.7899 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.005269, allocations: 299.6 kB / 0.7902 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/0.005358, allocations: 43.86 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.005381, allocations: 19.62 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.005393, allocations: 0.5312 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.005417, allocations: 43.14 kB / 0.7903 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.005418, allocations: 0 / 0.7903 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001616/0.00558, allocations: 49.62 kB / 0.7903 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.00561, allocations: 51.41 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.005709, allocations: 191.6 kB / 0.7905 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.005727, allocations: 30.36 kB / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.005785, allocations: 146.8 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.005801, allocations: 9.078 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.005831, allocations: 19.38 kB / 0.7907 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.005942, allocations: 0.4961 MB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.005965, allocations: 1.156 kB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.005978, allocations: 4 kB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.006016, allocations: 23.67 kB / 0.7913 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.006019, allocations: 5.375 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.863e-05/0.006088, allocations: 53.62 kB / 0.7913 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006101, allocations: 4 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006105, allocations: 5.688 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.006117, allocations: 0 / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.006174, allocations: 7.938 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006179, allocations: 0 / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.006206, allocations: 11.94 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.006211, allocations: 0.9062 kB / 0.7913 GB, free: 8.273 MB / 0.7448 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 7.285e-05/0.006284, allocations: 162.1 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.006303, allocations: 11.89 kB / 0.7915 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.006327, allocations: 8.344 kB / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006329, allocations: 0 / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.006333, allocations: 5.547 kB / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006337, allocations: 3.984 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.006441, allocations: 128.6 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006442, allocations: 7.125 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.006462, allocations: 3.984 kB / 0.7917 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.006466, allocations: 7.922 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.006474, allocations: 4 kB / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006475, allocations: 0 / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006475, allocations: 0 / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.006588, allocations: 195.8 kB / 0.7919 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.0066, allocations: 7.938 kB / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.006618, allocations: 0 / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.006657, allocations: 8.484 kB / 0.7919 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.006708, allocations: 13.92 kB / 0.7919 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.006712, allocations: 0 / 0.7919 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.006764, allocations: 145.2 kB / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006764, allocations: 0 / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001503/0.006914, allocations: 15.89 kB / 0.792 GB, free: 7.5 MB / 0.7448 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 0.0001082/0.007023, allocations: 101.8 kB / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.007113, allocations: 23.67 kB / 0.7922 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007114, allocations: 0 / 0.7922 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.007136, allocations: 15.62 kB / 0.7922 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.007337, allocations: 12.84 kB / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.00784, allocations: 182.7 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.007879, allocations: 60.62 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.007908, allocations: 4 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.007941, allocations: 17.28 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/0.007942, allocations: 0 / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.002699/0.01064, allocations: 0.9244 MB / 0.7933 GB, free: 6.141 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.461592177860439]