Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008022/0.0008022, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007645/0.0007645, allocations: 177.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.8637/0.8637, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.747/1.747, 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.948e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001414/0.001443, allocations: 0.698 MB / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.002275, allocations: 0.8509 MB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.002316, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.002346, allocations: 3.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.002418, allocations: 11.86 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.002578, allocations: 27.91 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.002655, allocations: 43.91 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.002764, allocations: 11.94 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.002843, allocations: 31.91 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.002895, allocations: 19.97 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.00292, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.002929, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.002949, allocations: 15.92 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.002972, allocations: 11.98 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.003074, allocations: 51.84 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003077, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003078, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.003082, allocations: 0 / 1.003 GB, free: 11.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004175/0.0035, allocations: 278.3 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.003539, allocations: 12.75 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.00357, allocations: 4.891 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.003676, allocations: 121.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.003691, allocations: 4.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.003701, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.003854, allocations: 66.22 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.003863, allocations: 3.938 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.003875, allocations: 4 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.003879, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.003992, allocations: 51.95 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.004325, allocations: 237.2 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.004456, allocations: 62.48 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.004514, allocations: 32.91 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.004531, allocations: 0 / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.004551, allocations: 30.56 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.004552, allocations: 0 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002757/0.004828, allocations: 125.4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.004857, allocations: 51.41 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/0.004924, allocations: 113.8 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.004935, allocations: 25.7 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.004974, allocations: 88.12 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.004994, allocations: 19.84 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.005022, allocations: 13.72 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.005098, allocations: 318.8 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.005154, allocations: 23.98 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.005202, allocations: 27.97 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.005304, allocations: 52.75 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.005306, allocations: 3.938 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.005438, allocations: 85.59 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.005454, allocations: 11.98 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005459, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.005472, allocations: 4 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.005551, allocations: 11.98 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.005556, allocations: 4 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.005591, allocations: 7.984 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005596, allocations: 0 / 1.004 GB, free: 9.184 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: 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 6.798e-05/0.005664, allocations: 117.8 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.005679, allocations: 3.953 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.005702, allocations: 8 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005704, allocations: 4 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.005708, allocations: 0 / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.00571, allocations: 0 / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.992e-05/0.00581, allocations: 113.3 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.005813, allocations: 7.922 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.005852, allocations: 11.98 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.005855, allocations: 4 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.005862, allocations: 3.938 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005863, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005864, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.006025, allocations: 183.4 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.006036, allocations: 11.89 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.006047, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.006097, allocations: 11.98 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.006146, allocations: 7.984 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.006152, allocations: 4 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.006183, allocations: 87.27 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006183, allocations: 0 / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001532/0.006336, allocations: 12 kB / 1.005 GB, free: 8.539 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 (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 9.32e-05/0.00643, allocations: 95.62 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.006594, allocations: 59.88 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.006596, allocations: 0 / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.748e-05/0.006653, allocations: 27.97 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.006895, allocations: 14.17 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.007204, allocations: 158.5 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.55e-05/0.007249, allocations: 67.28 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.007288, allocations: 16.48 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.007289, allocations: 7.875 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of Templates: time 0.001726/0.009015, allocations: 0.8259 MB / 1.006 GB, free: 7.223 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.462043231353164]