Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001378/0.001378, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001608/0.001608, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.529/1.529, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.969/2.969, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 3.938 kB / 0.8108 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/4.046e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002986/0.003026, allocations: 0.6991 MB / 0.8115 GB, free: 256 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.004906, allocations: 0.8509 MB / 0.8123 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.004957, allocations: 0.8438 kB / 0.8123 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.004992, allocations: 0 / 0.8123 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.727e-05/0.005089, allocations: 4.5 kB / 0.8123 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.005303, allocations: 27.91 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.005442, allocations: 52.86 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.005568, allocations: 11.94 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.0057, allocations: 25.61 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.005786, allocations: 23.89 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.005817, allocations: 4 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.005835, allocations: 4 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.005865, allocations: 12 kB / 0.8125 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.005914, allocations: 17.14 kB / 0.8125 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.006069, allocations: 43.91 kB / 0.8126 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006073, allocations: 0 / 0.8126 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006074, allocations: 4.562 kB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.006079, allocations: 0 / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007378/0.006816, allocations: 283.6 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.006869, allocations: 12.03 kB / 0.8128 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.006934, allocations: 8.891 kB / 0.8128 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.007117, allocations: 118.3 kB / 0.813 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.007141, allocations: 9.281 kB / 0.813 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.00716, allocations: 4.375 kB / 0.813 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.007463, allocations: 62.88 kB / 0.813 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.007475, allocations: 3.938 kB / 0.813 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.007491, allocations: 1.156 kB / 0.813 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.007496, allocations: 4 kB / 0.813 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.007832, allocations: 44.83 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.008495, allocations: 241.6 kB / 0.8133 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.008831, allocations: 62.48 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.009011, allocations: 34.38 kB / 0.8134 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.009037, allocations: 4 kB / 0.8134 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.009083, allocations: 30.56 kB / 0.8134 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.009084, allocations: 1.531 kB / 0.8134 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.000533/0.009617, allocations: 111.6 kB / 0.8135 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.009668, allocations: 51.41 kB / 0.8136 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.00979, allocations: 113.8 kB / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.009814, allocations: 25.7 kB / 0.8137 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.009886, allocations: 92.08 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.009912, allocations: 13.23 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.00996, allocations: 17.72 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.01015, allocations: 314.8 kB / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.01026, allocations: 20.55 kB / 0.8142 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01036, allocations: 32.55 kB / 0.8142 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.0106, allocations: 58.75 kB / 0.8143 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.0106, allocations: 3.938 kB / 0.8143 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002677/0.01087, allocations: 86.14 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01088, allocations: 4 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01089, allocations: 4.656 kB / 0.8143 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.01091, allocations: 3.984 kB / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.01103, allocations: 13.39 kB / 0.8144 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01105, allocations: 4 kB / 0.8144 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.01112, allocations: 4.625 kB / 0.8144 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01113, allocations: 3.984 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.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.0001055/0.01124, allocations: 118.8 kB / 0.8145 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01127, allocations: 4 kB / 0.8145 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.0113, allocations: 4.75 kB / 0.8145 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.0113, allocations: 0 / 0.8145 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.0113, allocations: 0.7188 kB / 0.8145 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.01132, allocations: 3.938 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01149, allocations: 122.5 kB / 0.8146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.0115, allocations: 3.938 kB / 0.8146 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.01159, allocations: 11.98 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01159, allocations: 0.8125 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01161, allocations: 3.984 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01161, allocations: 0.9375 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01161, allocations: 0 / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.01195, allocations: 180.8 kB / 0.8148 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.01196, allocations: 7.891 kB / 0.8148 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01198, allocations: 4 kB / 0.8148 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.0121, allocations: 16.95 kB / 0.8148 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.01216, allocations: 7.984 kB / 0.8148 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01217, allocations: 6.312 kB / 0.8149 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.472e-05/0.01225, allocations: 87.2 kB / 0.8149 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01225, allocations: 0 / 0.8149 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002394/0.01249, allocations: 12 kB / 0.8149 GB, free: 12.51 MB / 0.7292 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001372/0.01262, allocations: 95.25 kB / 0.815 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.01289, allocations: 51.39 kB / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01289, allocations: 0 / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.01302, allocations: 35.97 kB / 0.8151 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.01335, allocations: 12.3 kB / 0.8151 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.01375, allocations: 132.4 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.01383, allocations: 76 kB / 0.8153 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.01387, allocations: 5.859 kB / 0.8153 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.01393, allocations: 21.81 kB / 0.8154 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.01393, allocations: 0 / 0.8154 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.003873/0.0178, allocations: 0.9671 MB / 0.8163 GB, free: 11.12 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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: 7.896314759971574]