Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001851/0.001851, allocations: 80.53 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002265/0.002265, allocations: 160.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.814/2.814, allocations: 377.8 MB / 0.6221 GB, free: 12.65 MB / 0.5919 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.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.9815 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.469e-05, allocations: 18.16 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0016/0.001625, allocations: 0.591 MB / 0.9821 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003866/0.002011, allocations: 103.6 kB / 0.9822 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.00203, allocations: 0 / 0.9822 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.00206, allocations: 0 / 0.9822 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.002065, allocations: 8 kB / 0.9822 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.00241, allocations: 35.83 kB / 0.9822 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.002542, allocations: 71.86 kB / 0.9823 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.002585, allocations: 4 kB / 0.9823 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.002645, allocations: 31.95 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.002691, allocations: 23.95 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.002711, allocations: 0 / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.00285, allocations: 47.94 kB / 0.9824 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.002899, allocations: 19.92 kB / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.002931, allocations: 19.97 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.003107, allocations: 95.73 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003108, allocations: 0 / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003109, allocations: 3.938 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003113, allocations: 0 / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005214/0.003634, allocations: 302.2 kB / 0.9828 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.00368, allocations: 8.031 kB / 0.9828 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.003742, allocations: 8.938 kB / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.003852, allocations: 101.8 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/0.004333, allocations: 0.5299 MB / 0.9834 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.004351, allocations: 8.375 kB / 0.9834 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.004613, allocations: 74.2 kB / 0.9835 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.004621, allocations: 4.188 kB / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.004635, allocations: 4.375 kB / 0.9835 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004642, allocations: 4.125 kB / 0.9835 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.00504, allocations: 135.7 kB / 0.9837 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.005219, allocations: 121.2 kB / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.005612, allocations: 86.53 kB / 0.9839 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.005775, allocations: 40.83 kB / 0.9839 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.005801, allocations: 0 / 0.9839 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.005837, allocations: 38.56 kB / 0.9839 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.005839, allocations: 4 kB / 0.9839 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.000677/0.006516, allocations: 153.8 kB / 0.9841 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.006566, allocations: 51.41 kB / 0.9841 GB, free: 9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.00663, allocations: 93.8 kB / 0.9842 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.006652, allocations: 25.7 kB / 0.9842 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.006687, allocations: 80.14 kB / 0.9843 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.006756, allocations: 47.62 kB / 0.9844 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.006811, allocations: 25.7 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.006966, allocations: 318.8 kB / 0.9847 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.007117, allocations: 27.98 kB / 0.9847 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.007273, allocations: 35.97 kB / 0.9848 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.007577, allocations: 81.34 kB / 0.9848 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007579, allocations: 3.938 kB / 0.9848 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003854/0.007965, allocations: 117.5 kB / 0.9849 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.007978, allocations: 4 kB / 0.9849 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.007983, allocations: 0 / 0.9849 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.007996, allocations: 0 / 0.9849 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.00816, allocations: 27.97 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.008169, allocations: 3.938 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.008236, allocations: 8 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.008254, allocations: 11.98 kB / 0.985 GB, free: 8.062 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001094/0.008363, allocations: 117.8 kB / 0.9851 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.008383, allocations: 3.953 kB / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.008417, allocations: 11.97 kB / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008419, allocations: 0 / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.008426, allocations: 3.984 kB / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.008431, allocations: 3.938 kB / 0.9851 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.008562, allocations: 121.3 kB / 0.9852 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008564, allocations: 0 / 0.9852 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.008695, allocations: 23.98 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008697, allocations: 4 kB / 0.9853 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.00872, allocations: 7.984 kB / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008722, allocations: 0 / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008723, allocations: 4 kB / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.009131, allocations: 144.8 kB / 0.9854 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.009144, allocations: 11.92 kB / 0.9854 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.00916, allocations: 0 / 0.9854 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.009228, allocations: 8 kB / 0.9854 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.009285, allocations: 11.97 kB / 0.9855 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.0093, allocations: 7.984 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.009346, allocations: 83.22 kB / 0.9855 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009346, allocations: 0 / 0.9855 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002389/0.009585, allocations: 20 kB / 0.9856 GB, free: 7.43 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002209/0.009805, allocations: 123.1 kB / 0.9857 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.01019, allocations: 83.88 kB / 0.9858 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01019, allocations: 0 / 0.9858 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.01037, allocations: 51.89 kB / 0.9858 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.01051, allocations: 0 / 0.9858 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.01099, allocations: 153 kB / 0.986 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.01106, allocations: 75.19 kB / 0.986 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.0112, allocations: 39.97 kB / 0.9861 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01125, allocations: 24.42 kB / 0.9861 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.01125, allocations: 0 / 0.9861 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.003789/0.01504, allocations: 1.008 MB / 0.9871 GB, free: 5.832 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.931878048926592]