Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Binomial.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.0008582/0.0008582, 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.0008489/0.0008489, 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.9013/0.9013, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.758/1.758, allocations: 377.9 MB / 0.6228 GB, free: 8.645 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.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.677e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001718/0.001735, allocations: 1.558 MB / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003386/0.002073, allocations: 179.2 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.002104, allocations: 4 kB / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.002129, allocations: 3.984 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.002172, allocations: 7.875 kB / 0.9839 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.002475, allocations: 51.81 kB / 0.984 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.002538, allocations: 35.92 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.002625, allocations: 11.98 kB / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.002662, allocations: 23.91 kB / 0.984 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.0027, allocations: 15.98 kB / 0.984 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.002714, allocations: 4 kB / 0.984 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.002812, allocations: 55.88 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.002822, allocations: 0 / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.002842, allocations: 15.92 kB / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.002977, allocations: 75.77 kB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002978, allocations: 0 / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002979, allocations: 0 / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002983, allocations: 3.938 kB / 0.9842 GB, free: 16 kB / 0.9323 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.0005747/0.003557, allocations: 290.2 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.003591, allocations: 12.03 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.003617, allocations: 0.9375 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.003688, allocations: 113.7 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.003705, allocations: 4.359 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.003716, allocations: 8.375 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.003841, allocations: 62.22 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.003847, allocations: 192 / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.003856, allocations: 4.375 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.003861, allocations: 4.375 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.864e-05/0.003959, allocations: 51.83 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.004231, allocations: 208.6 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.004426, allocations: 58.53 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.004473, allocations: 24.91 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.004582, allocations: 15.92 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004602, allocations: 38.5 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.004602, allocations: 0 / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002209/0.004823, allocations: 97.58 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.004846, allocations: 51.41 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.004897, allocations: 105.8 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.004909, allocations: 25.7 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.004946, allocations: 92.08 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.00496, allocations: 8.016 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.004986, allocations: 21.7 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.005057, allocations: 314.8 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.005103, allocations: 19.98 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.005144, allocations: 23.91 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.005229, allocations: 44.81 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005231, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001106/0.005341, allocations: 81.55 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005352, allocations: 8 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005356, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.005366, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/0.005408, allocations: 11.98 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005412, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.005437, allocations: 7.984 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.005441, allocations: 0 / 0.9859 GB, free: 14.06 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.958e-05/0.005491, allocations: 117.8 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.005503, allocations: 7.938 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.005642, allocations: 85.91 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005644, allocations: 48 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.005648, allocations: 7.922 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.00565, allocations: 0 / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.355e-05/0.005734, allocations: 113.2 kB / 0.9862 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005735, allocations: 0 / 0.9862 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.005764, allocations: 15.98 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005765, allocations: 4 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.005772, allocations: 3.938 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005773, allocations: 0 / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005774, allocations: 0 / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.005903, allocations: 179.4 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-06/0.005907, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.005916, allocations: 7.875 kB / 0.9864 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.005955, allocations: 7.984 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.006003, allocations: 11.98 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.006006, allocations: 4 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.328e-05/0.006029, allocations: 79.28 kB / 0.9865 GB, free: 13.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006029, allocations: 0 / 0.9865 GB, free: 13.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001606/0.00619, allocations: 20 kB / 0.9866 GB, free: 13.35 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * 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.0001188/0.006308, allocations: 115.2 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.006432, allocations: 47.89 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.006433, allocations: 0 / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.006479, allocations: 27.97 kB / 0.9867 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.006654, allocations: 4 kB / 0.9867 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.006884, allocations: 142.6 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.006923, allocations: 67.34 kB / 0.9869 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.006956, allocations: 20.48 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.006956, allocations: 0 / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of Templates: time 0.001612/0.008568, allocations: 0.9788 MB / 0.9879 GB, free: 11.89 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.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.585999018512666]