Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00191/0.00191, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002022/0.002022, allocations: 157.7 kB / 23.55 MB, free: 0.8711 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.596/1.596, allocations: 177.2 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.947/2.947, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.274e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002936/0.002969, allocations: 1.568 MB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004944/0.003463, allocations: 172.3 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.003498, allocations: 0 / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.003523, allocations: 4.688 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.003574, allocations: 7.875 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.003906, allocations: 52.38 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.003986, allocations: 41.12 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.004074, allocations: 15.98 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.004127, allocations: 19.92 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.004168, allocations: 12.61 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.004188, allocations: 4 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.004333, allocations: 61.27 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.004354, allocations: 11.92 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.004376, allocations: 4 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.004574, allocations: 80.55 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.004579, allocations: 4 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00458, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004584, allocations: 0.5625 kB / 0.7884 GB, free: 10.73 MB / 0.7448 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.0005326/0.005117, allocations: 376.9 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.005156, allocations: 12.03 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.005198, allocations: 1.844 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.005318, allocations: 116.6 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.005339, allocations: 5.031 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.005349, allocations: 384 / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005519, allocations: 59.48 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.005527, allocations: 192 / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.005536, allocations: 384 / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.00554, allocations: 2 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.005693, allocations: 47.83 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.006121, allocations: 267.8 kB / 0.7892 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.00643, allocations: 60.7 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.006511, allocations: 27.61 kB / 0.7893 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.00667, allocations: 11.98 kB / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.006712, allocations: 42.05 kB / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.006713, allocations: 3.406 kB / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003285/0.007042, allocations: 85.61 kB / 0.7895 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.007087, allocations: 51.41 kB / 0.7895 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.007223, allocations: 169.9 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.007258, allocations: 29.64 kB / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.007345, allocations: 130.9 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.007365, allocations: 11.89 kB / 0.7898 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.007416, allocations: 23.38 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.007698, allocations: 0.4891 MB / 0.7903 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.007764, allocations: 15.94 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.00782, allocations: 13.64 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.00795, allocations: 43.94 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007951, allocations: 0 / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001842/0.008135, allocations: 74.34 kB / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008148, allocations: 4 kB / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.008152, allocations: 0.5938 kB / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008164, allocations: 1.344 kB / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.008252, allocations: 11.98 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.008257, allocations: 3.938 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.008299, allocations: 4 kB / 0.7905 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.008305, allocations: 0.5938 kB / 0.7905 GB, free: 8.375 MB / 0.7448 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 0.0001202/0.008425, allocations: 161.9 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.008474, allocations: 7.938 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.008693, allocations: 70.64 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008695, allocations: 0 / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.008698, allocations: 0 / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.0087, allocations: 0 / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.008876, allocations: 121.3 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008877, allocations: 1.406 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.008941, allocations: 11.98 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008942, allocations: 0 / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.008953, allocations: 3.938 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008954, allocations: 1.188 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008955, allocations: 3.938 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.009239, allocations: 220.1 kB / 0.7911 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.009249, allocations: 4.531 kB / 0.7911 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.00927, allocations: 12.45 kB / 0.7911 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.009339, allocations: 4.875 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.009389, allocations: 7.984 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.009397, allocations: 4 kB / 0.7911 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.985e-05/0.009476, allocations: 124 kB / 0.7912 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009477, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002434/0.00972, allocations: 20.47 kB / 0.7912 GB, free: 7.543 MB / 0.7448 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.0001953/0.009915, allocations: 116.7 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01012, allocations: 47.59 kB / 0.7914 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01012, allocations: 5.156 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.01021, allocations: 23.67 kB / 0.7914 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01044, allocations: 10.69 kB / 0.7914 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.01081, allocations: 135.4 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.377e-05/0.01088, allocations: 67.33 kB / 0.7916 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.01091, allocations: 5.219 kB / 0.7916 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.01095, allocations: 17.47 kB / 0.7917 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.01095, allocations: 0 / 0.7917 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of Templates: time 0.004161/0.01511, allocations: 1.006 MB / 0.7926 GB, free: 6.09 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.900691217975691]