Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 198 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.6198, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002009/0.6218, allocations: 0.5763 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.6222, allocations: 107.6 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.6223, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.6223, allocations: 3.938 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.6223, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.6227, allocations: 39.89 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.6228, allocations: 67.88 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.6229, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.6229, allocations: 23.97 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.623, allocations: 23.97 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.623, allocations: 3.938 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.6232, allocations: 51.94 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.6232, allocations: 23.98 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.6233, allocations: 23.86 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.6234, allocations: 67.81 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6234, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6234, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.6234, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 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.0005485/0.624, allocations: 373 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.6241, allocations: 16.02 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.6241, allocations: 4.938 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.6243, allocations: 166.4 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.6246, allocations: 285.5 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.6247, allocations: 8.375 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.625, allocations: 74.19 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.625, allocations: 7.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.625, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.625, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.6255, allocations: 135.8 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.6257, allocations: 181.5 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.6261, allocations: 102.5 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.6263, allocations: 44.83 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.6263, allocations: 3.984 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.6263, allocations: 34.56 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.6263, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005972/0.6269, allocations: 145.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.627, allocations: 59.41 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.6271, allocations: 93.86 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6271, allocations: 25.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.6271, allocations: 88.06 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.6272, allocations: 35.45 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.6273, allocations: 29.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6274, allocations: 314.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.6276, allocations: 31.97 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.6277, allocations: 35.97 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.628, allocations: 81.41 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6281, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003517/0.6284, allocations: 109.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6284, allocations: 11.94 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6285, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.6285, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.6287, allocations: 27.91 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6287, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.6288, allocations: 15.91 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.6288, allocations: 7.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 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.0001228/0.6289, allocations: 113.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.6289, allocations: 7.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.629, allocations: 11.97 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.629, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.629, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.629, allocations: 3.984 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.6292, allocations: 181.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6292, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.6294, allocations: 27.92 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6294, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.6294, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6294, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6294, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.6298, allocations: 137.1 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.6299, allocations: 81.09 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.6299, allocations: 11.94 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.63, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.6301, allocations: 7.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.6301, allocations: 11.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.6301, allocations: 75.28 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6302, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002682/0.6304, allocations: 20 kB / 1.021 GB, free: 13.91 MB / 0.7794 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.0002594/0.6307, allocations: 135.1 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.6311, allocations: 95.88 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6311, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.6312, allocations: 39.97 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.6314, allocations: 9.562 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.6319, allocations: 160.9 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.6322, allocations: 0.6923 MB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.6324, allocations: 39.95 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.6324, allocations: 19.42 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.823e-06/0.6324, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.003374/0.6358, allocations: 1.021 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches