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.001463/0.001463, allocations: 85.19 kB / 19.18 MB, free: 2.504 MB / 14.72 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.001655/0.001655, allocations: 169.4 kB / 22.46 MB, free: 5.379 MB / 14.72 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.484/1.484, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.921/2.921, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.767e-06/3.767e-06, allocations: 0 / 1 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.684e-05/4.061e-05, allocations: 6.219 kB / 1 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00226/0.002301, allocations: 0.8098 MB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.003775, allocations: 0.9054 MB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.003871, allocations: 3.938 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004021, allocations: 19.86 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.004065, allocations: 7.875 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.004281, allocations: 27.91 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.004425, allocations: 83.7 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.004557, allocations: 23.92 kB / 1.002 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.004721, allocations: 47.89 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.004803, allocations: 19.92 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.004825, allocations: 4 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.004871, allocations: 8 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.0049, allocations: 23.91 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.004934, allocations: 11.94 kB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.005106, allocations: 87.72 kB / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005108, allocations: 0 / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.11e-07/0.005109, allocations: 0 / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.005113, allocations: 0 / 1.002 GB, free: 5.113 MB / 0.9512 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.0005879/0.005701, allocations: 321.9 kB / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.005743, allocations: 12.03 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.005903, allocations: 12.89 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.006173, allocations: 141.6 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.006187, allocations: 8.375 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.006201, allocations: 4.375 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.006367, allocations: 66.16 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006378, allocations: 4.188 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.006391, allocations: 4.375 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.006396, allocations: 4.312 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.006508, allocations: 35.92 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.006997, allocations: 244.6 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.007171, allocations: 50.48 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.007228, allocations: 20.86 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.007246, allocations: 4 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.007286, allocations: 34.66 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.007287, allocations: 0 / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002768/0.007564, allocations: 77.55 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.007608, allocations: 51.41 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.007744, allocations: 135.7 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.007765, allocations: 25.7 kB / 1.003 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.007836, allocations: 104 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.007853, allocations: 7.953 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.007895, allocations: 17.72 kB / 1.004 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.008057, allocations: 322.8 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.008109, allocations: 12 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.008154, allocations: 15.98 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.008243, allocations: 28.84 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.008247, allocations: 7.938 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.008398, allocations: 73.5 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.008414, allocations: 4 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.00842, allocations: 4 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.008434, allocations: 4 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.008495, allocations: 4 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.0085, allocations: 4 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.008573, allocations: 7.984 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.008579, allocations: 0 / 1.004 GB, free: 3.102 MB / 0.9512 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 0.0001015/0.008681, allocations: 122.4 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.008711, allocations: 8.219 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.008749, allocations: 12.34 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008752, allocations: 3.984 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.008756, allocations: 4 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.008759, allocations: 0 / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.00892, allocations: 121.3 kB / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008921, allocations: 0 / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.008963, allocations: 7.938 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008964, allocations: 3.938 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.008975, allocations: 3.984 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008976, allocations: 3.938 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.008979, allocations: 4 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.009172, allocations: 159.5 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.009187, allocations: 7.891 kB / 1.004 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.009208, allocations: 4 kB / 1.004 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.009313, allocations: 11.98 kB / 1.004 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.009362, allocations: 7.984 kB / 1.004 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.009366, allocations: 0 / 1.004 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.009444, allocations: 107.2 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.009444, allocations: 0 / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002222/0.009666, allocations: 8 kB / 1.005 GB, free: 2.449 MB / 0.9512 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.0001297/0.009796, allocations: 99.23 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.009948, allocations: 35.92 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00995, allocations: 0 / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.01001, allocations: 19.98 kB / 1.005 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.01026, allocations: 13.81 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.01064, allocations: 168.6 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.01071, allocations: 75.33 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.01075, allocations: 11.92 kB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.01079, allocations: 12.5 kB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.01079, allocations: 0 / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of Templates: time 0.003592/0.01438, allocations: 0.9126 MB / 1.006 GB, free: 1.07 MB / 0.9512 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: 8.35231376439333]