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.0008424/0.0008424, allocations: 80.44 kB / 19.93 MB, free: 4.629 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.0008126/0.0008126, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.862/0.862, allocations: 177.1 MB / 203.5 MB, free: 5.742 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 1.749/1.749, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.665e-06/2.665e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.908e-05, allocations: 2.281 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001763/0.001792, allocations: 0.7947 MB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000833/0.002625, allocations: 0.914 MB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.002699, allocations: 3.938 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.002818, allocations: 15.86 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.002848, allocations: 11.86 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.00304, allocations: 31.91 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.003136, allocations: 79.72 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003248, allocations: 27.91 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.003373, allocations: 39.91 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.003432, allocations: 27.89 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.003449, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.915e-05/0.003488, allocations: 12 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.003502, allocations: 11.94 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.003525, allocations: 19.92 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003649, allocations: 87.66 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003652, allocations: 4 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.493e-06/0.003653, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.003661, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 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.0003927/0.004053, allocations: 314 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.004088, allocations: 13.34 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.004198, allocations: 16.88 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.00438, allocations: 139 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.00439, allocations: 12.38 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.0044, allocations: 4.375 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.004509, allocations: 66.17 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.004516, allocations: 192 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.004526, allocations: 384 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.00453, allocations: 384 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.004599, allocations: 35.92 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.004916, allocations: 248.4 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.005016, allocations: 50.55 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.005049, allocations: 24.94 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.005063, allocations: 0 / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.005082, allocations: 30.56 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.005083, allocations: 0 / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001756/0.005259, allocations: 77.66 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.005285, allocations: 51.41 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.005365, allocations: 140.1 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005376, allocations: 37.64 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.005424, allocations: 108 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.005438, allocations: 3.953 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.005468, allocations: 17.72 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.005541, allocations: 318.8 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.005572, allocations: 19.98 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.0056, allocations: 12 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.005647, allocations: 29.06 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.00565, allocations: 4 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.2e-05/0.005732, allocations: 81.55 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.005743, allocations: 7.938 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.005747, allocations: 0 / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.005759, allocations: 0 / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.005804, allocations: 7.984 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.005808, allocations: 0 / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.005841, allocations: 11.98 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005846, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 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.709e-05/0.005903, allocations: 113.8 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.005918, allocations: 15.89 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.005939, allocations: 12.34 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005941, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.005944, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.005947, allocations: 3.984 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.12e-05/0.006038, allocations: 117.3 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006039, allocations: 3.938 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.006058, allocations: 11.92 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006059, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006066, allocations: 4 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006066, allocations: 4 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006067, allocations: 0 / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.006164, allocations: 155.5 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.006174, allocations: 7.891 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.006191, allocations: 8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.006237, allocations: 7.984 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.006278, allocations: 7.984 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.006281, allocations: 3.984 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.006323, allocations: 103.3 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006323, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000143/0.006466, allocations: 12 kB / 1.005 GB, free: 8.168 MB / 0.9636 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.159e-05/0.006548, allocations: 99.19 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.006646, allocations: 35.97 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006647, allocations: 0 / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/0.006675, allocations: 19.94 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.006853, allocations: 13.95 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.00714, allocations: 198.3 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.007189, allocations: 73.22 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.007218, allocations: 16.44 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.007219, allocations: 0 / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of Templates: time 0.001658/0.008877, allocations: 1.008 MB / 1.007 GB, free: 6.656 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.320489998906851]