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.00164/0.00164, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001888/0.001888, allocations: 222.3 kB / 23 MB, free: 4.914 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.231/3.231, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 68.67 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001721/0.3188, allocations: 0.5991 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004171/0.3192, allocations: 100.1 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.3192, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.3193, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.3193, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.3196, allocations: 39.88 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3198, allocations: 63.94 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.3198, allocations: 4 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.3199, allocations: 31.91 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.3199, allocations: 23.97 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3199, allocations: 0 / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3201, allocations: 59.88 kB / 1.366 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.3201, allocations: 15.98 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.3202, allocations: 23.91 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.3203, allocations: 75.77 kB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3203, allocations: 0 / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3203, allocations: 0 / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.3203, allocations: 0 / 1.366 GB, free: 12.52 MB / 1.061 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.0005124/0.3208, allocations: 290.3 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3209, allocations: 12.03 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3209, allocations: 12.88 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.321, allocations: 106.5 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.3214, allocations: 0.5299 MB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3215, allocations: 8.375 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.3217, allocations: 78.19 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3217, allocations: 7.875 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3217, allocations: 4 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3217, allocations: 0 / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.3221, allocations: 123.8 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3223, allocations: 125.3 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.3226, allocations: 94.45 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3227, allocations: 40.83 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3227, allocations: 336 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3228, allocations: 38.5 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 9.31e-07/0.3228, allocations: 3.938 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005366/0.3233, allocations: 145.5 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3233, allocations: 55.41 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.3234, allocations: 89.86 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3234, allocations: 25.7 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.3234, allocations: 84.14 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.3235, allocations: 39.64 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.3236, allocations: 33.7 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3237, allocations: 310.8 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3239, allocations: 35.97 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.324, allocations: 36.34 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3243, allocations: 80.91 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3243, allocations: 0 / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003302/0.3246, allocations: 109.6 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3246, allocations: 8 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3246, allocations: 3.938 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3246, allocations: 3.938 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3248, allocations: 27.97 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3248, allocations: 0 / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.3248, allocations: 15.94 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3249, allocations: 4 kB / 1.368 GB, free: 9.68 MB / 1.061 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.0001038/0.325, allocations: 121.8 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.325, allocations: 3.953 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.325, allocations: 11.84 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.325, allocations: 11.98 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.325, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.325, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3252, allocations: 121.3 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3252, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.3253, allocations: 27.97 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3253, allocations: 0 / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3253, allocations: 0 / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3253, allocations: 3.938 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3253, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.3257, allocations: 156.9 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.3257, allocations: 7.938 kB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3257, allocations: 4 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.3258, allocations: 11.92 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3258, allocations: 11.92 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3258, allocations: 3.984 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.3259, allocations: 83.28 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3259, allocations: 0 / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002219/0.3261, allocations: 16 kB / 1.369 GB, free: 9.023 MB / 1.061 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.0002064/0.3263, allocations: 119.2 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.3266, allocations: 87.81 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3266, allocations: 0 / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3268, allocations: 47.91 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.3269, allocations: 4 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.3274, allocations: 190.5 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.3275, allocations: 67.34 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.3275, allocations: 19.42 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.3275, allocations: 0 / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of Templates: time 0.003369/0.3309, allocations: 1.336 MB / 1.371 GB, free: 7.105 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.094674738124013]