Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.0008596/0.0008596, 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.0008764/0.0008764, 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.9072/0.9072, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.755/1.755, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] 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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.884e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001409/0.001438, allocations: 0.7602 MB / 0.9829 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000881/0.002319, allocations: 0.8821 MB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.002361, allocations: 0 / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.002394, allocations: 11.86 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.002476, allocations: 15.86 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.002654, allocations: 43.89 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.95e-05/0.002754, allocations: 83.81 kB / 0.984 GB, free: 256 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.002873, allocations: 23.92 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.002974, allocations: 43.95 kB / 0.984 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.003048, allocations: 35.89 kB / 0.9841 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.003074, allocations: 8 kB / 0.9841 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.003087, allocations: 8 kB / 0.9841 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.003113, allocations: 23.91 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.003145, allocations: 27.92 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.003292, allocations: 99.62 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003294, allocations: 4 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.003296, allocations: 0 / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.0033, allocations: 0 / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004542/0.003754, allocations: 326 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.00379, allocations: 8.031 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.003826, allocations: 8.891 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.553e-05/0.003921, allocations: 113.7 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.003937, allocations: 4.375 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.003952, allocations: 8.375 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.004166, allocations: 117.1 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.004176, allocations: 7.922 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.004188, allocations: 0 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.004193, allocations: 0 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.004406, allocations: 95.91 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.004794, allocations: 280.3 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.005159, allocations: 114.5 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.005264, allocations: 56.88 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.005279, allocations: 0 / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.005297, allocations: 30.56 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.005298, allocations: 0 / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.005691, allocations: 189.4 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.005721, allocations: 51.41 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.005795, allocations: 117.8 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.00581, allocations: 29.69 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.005854, allocations: 96.09 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.005882, allocations: 23.78 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.005921, allocations: 29.7 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.006144, allocations: 322.8 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.006251, allocations: 43.95 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.006343, allocations: 47.95 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.006525, allocations: 93.25 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006528, allocations: 0 / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002322/0.00676, allocations: 145.5 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006773, allocations: 4 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.006778, allocations: 0 / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006791, allocations: 0 / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.006873, allocations: 23.97 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.006878, allocations: 4 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.006934, allocations: 15.97 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.006942, allocations: 4 kB / 0.9865 GB, free: 13.45 MB / 0.948 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 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.177e-05/0.007014, allocations: 117.8 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.007031, allocations: 3.953 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.007054, allocations: 12.44 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.007057, allocations: 0 / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.007062, allocations: 3.938 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.007066, allocations: 7.922 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.007188, allocations: 141.2 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.007192, allocations: 7.984 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.007257, allocations: 23.97 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.00726, allocations: 3.984 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.007272, allocations: 8 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007273, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007274, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.007537, allocations: 235.3 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.00755, allocations: 7.953 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.007564, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.007631, allocations: 11.98 kB / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.007694, allocations: 19.97 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.007701, allocations: 7.984 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.007742, allocations: 99.64 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007742, allocations: 0 / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001552/0.007897, allocations: 15.94 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.721e-05/0.007984, allocations: 103.2 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.008235, allocations: 99.89 kB / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.008237, allocations: 0 / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.00834, allocations: 59.88 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.008558, allocations: 18.44 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.008901, allocations: 199.1 kB / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.866e-05/0.00895, allocations: 71.58 kB / 0.9877 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.009003, allocations: 24.48 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.009003, allocations: 0 / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of Templates: time 0.001987/0.01099, allocations: 1.269 MB / 0.989 GB, free: 10.79 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.749148831702769]