Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001835/0.001835, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002464/0.002464, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.414/3.414, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.843e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001676/0.001704, allocations: 0.6162 MB / 0.8781 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003863/0.00209, allocations: 96.5 kB / 0.8782 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.00211, allocations: 0 / 0.8782 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.982e-05/0.00216, allocations: 3.984 kB / 0.8782 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.002165, allocations: 0.9375 kB / 0.8782 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.002526, allocations: 40.59 kB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.002665, allocations: 67.91 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.002698, allocations: 5.062 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.002765, allocations: 32.52 kB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.00282, allocations: 23.95 kB / 0.8783 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.002843, allocations: 5.641 kB / 0.8784 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.002989, allocations: 47.94 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.003036, allocations: 26.83 kB / 0.8784 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.00307, allocations: 17.28 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.003264, allocations: 87.92 kB / 0.8785 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003266, allocations: 0.9062 kB / 0.8785 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003267, allocations: 0 / 0.8785 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003271, allocations: 0 / 0.8785 GB, free: 5.562 MB / 0.8386 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.0006201/0.003891, allocations: 400.8 kB / 0.8789 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.003931, allocations: 13.25 kB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.003999, allocations: 12.94 kB / 0.8789 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.004111, allocations: 112.6 kB / 0.879 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005354/0.004646, allocations: 0.527 MB / 0.8796 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.004665, allocations: 8.375 kB / 0.8796 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.004929, allocations: 74.14 kB / 0.8796 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.004939, allocations: 5.25 kB / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.004949, allocations: 384 / 0.8796 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.004957, allocations: 8.062 kB / 0.8796 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.005382, allocations: 121.2 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.005577, allocations: 132.6 kB / 0.8799 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.005896, allocations: 87.02 kB / 0.88 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.006052, allocations: 41.52 kB / 0.88 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.00608, allocations: 7.938 kB / 0.88 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.006116, allocations: 37.38 kB / 0.8801 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.91e-07/0.006117, allocations: 1.156 kB / 0.8801 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0005792/0.006696, allocations: 133.9 kB / 0.8802 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.006744, allocations: 55.97 kB / 0.8802 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.006835, allocations: 146.2 kB / 0.8804 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.006862, allocations: 34.53 kB / 0.8804 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.006927, allocations: 126.9 kB / 0.8805 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.006981, allocations: 35.14 kB / 0.8806 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.007047, allocations: 39.36 kB / 0.8806 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002638/0.007311, allocations: 496.1 kB / 0.8811 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.007464, allocations: 23.98 kB / 0.8811 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.007597, allocations: 35.91 kB / 0.8811 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.007865, allocations: 55.67 kB / 0.8812 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007867, allocations: 0 / 0.8812 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003679/0.008235, allocations: 110.2 kB / 0.8813 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.008249, allocations: 4.594 kB / 0.8813 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.008256, allocations: 4 kB / 0.8813 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.008269, allocations: 1.531 kB / 0.8813 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.008426, allocations: 27.91 kB / 0.8813 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.008434, allocations: 3.938 kB / 0.8813 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.008501, allocations: 15.94 kB / 0.8813 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.008515, allocations: 4 kB / 0.8813 GB, free: 2.359 MB / 0.8386 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.0001236/0.008639, allocations: 164.6 kB / 0.8815 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.008659, allocations: 4 kB / 0.8815 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.0087, allocations: 11.97 kB / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008701, allocations: 0 / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.008707, allocations: 4 kB / 0.8815 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.008712, allocations: 3.938 kB / 0.8815 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.008857, allocations: 132.6 kB / 0.8817 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008858, allocations: 0 / 0.8817 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.009, allocations: 27.92 kB / 0.8817 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.009002, allocations: 3.938 kB / 0.8817 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.009015, allocations: 7.984 kB / 0.8817 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009016, allocations: 0 / 0.8817 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009017, allocations: 0 / 0.8817 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.009506, allocations: 152.4 kB / 0.8818 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.009516, allocations: 7.891 kB / 0.8818 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.009532, allocations: 0 / 0.8818 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.009594, allocations: 8 kB / 0.8819 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.00966, allocations: 15.95 kB / 0.8819 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.00967, allocations: 8 kB / 0.8819 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.009734, allocations: 123.1 kB / 0.882 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009734, allocations: 0 / 0.882 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002348/0.009968, allocations: 23.94 kB / 0.882 GB, free: 1.609 MB / 0.8386 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.000219/0.01019, allocations: 123.2 kB / 0.8821 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.01055, allocations: 83.62 kB / 0.8822 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01055, allocations: 0 / 0.8822 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.01073, allocations: 51.59 kB / 0.8823 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.01087, allocations: 15.98 kB / 0.8823 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.01131, allocations: 162.2 kB / 0.8824 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.058e-05/0.01138, allocations: 63.34 kB / 0.8825 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000115/0.0115, allocations: 43.89 kB / 0.8825 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.01155, allocations: 16.48 kB / 0.8826 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.01155, allocations: 0 / 0.8826 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of Templates: time 0.004238/0.01578, allocations: 1.026 MB / 0.8836 GB, free: 15.98 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.530334605951793]