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.001591/0.001591, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.769/2.769, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 67.91 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6297/0.6325, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001771/0.6343, allocations: 0.6541 MB / 1.017 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004112/0.6347, allocations: 111.6 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.234e-05/0.6347, allocations: 4 kB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.6347, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.6348, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.635, allocations: 27.91 kB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.6352, allocations: 63.92 kB / 1.017 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.6352, allocations: 4 kB / 1.017 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.6353, allocations: 23.97 kB / 1.017 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.6353, allocations: 19.97 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.6353, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.6354, allocations: 47.95 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.6355, allocations: 27.91 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.6356, allocations: 23.92 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.6357, allocations: 63.83 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6357, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6357, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.6357, allocations: 0 / 1.018 GB, free: 1.754 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.0006023/0.6363, allocations: 375.5 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6364, allocations: 12.03 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.6364, allocations: 4.938 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.6366, allocations: 170.3 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.6369, allocations: 281.6 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.6369, allocations: 4.375 kB / 1.018 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.6372, allocations: 82.12 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.6372, allocations: 3.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.6372, allocations: 8 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6372, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.6376, allocations: 131.8 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.6378, allocations: 185.5 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.6382, allocations: 106.5 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.6383, allocations: 40.83 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.6384, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.6384, allocations: 34.56 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.6384, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.0005931/0.639, allocations: 153.8 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.639, allocations: 55.41 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.6391, allocations: 93.86 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6391, allocations: 25.7 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.6392, allocations: 80.14 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.6392, allocations: 35.45 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.6393, allocations: 29.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6394, allocations: 318.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.6396, allocations: 27.98 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.6397, allocations: 35.97 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.64, allocations: 85.41 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.64, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003553/0.6404, allocations: 117.5 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6404, allocations: 11.94 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6404, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.6405, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6406, allocations: 23.97 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6406, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.6407, allocations: 7.906 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.6407, allocations: 15.98 kB / 1.02 GB, free: 14.96 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 9.168e-05/0.6408, allocations: 109.8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.6409, allocations: 7.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.6409, allocations: 11.97 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6409, allocations: 3.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6409, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6409, allocations: 3.984 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.6411, allocations: 189.4 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6411, allocations: 0 / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.6412, allocations: 23.98 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.6413, allocations: 7.938 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.6413, allocations: 7.984 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6413, allocations: 0 / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6413, allocations: 3.938 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.6417, allocations: 133.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.6417, allocations: 85 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.6418, allocations: 7.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.6418, allocations: 8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.6419, allocations: 15.86 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.6419, allocations: 11.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.642, allocations: 75.28 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.642, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002239/0.6422, allocations: 20 kB / 1.021 GB, free: 14.16 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.000194/0.6424, allocations: 119.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.6428, allocations: 87.88 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6428, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.6429, allocations: 43.97 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.6431, allocations: 8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.6435, allocations: 170.6 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6438, allocations: 0.6868 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.644, allocations: 39.95 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.6441, allocations: 23.36 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6441, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.003659/0.6477, allocations: 0.9834 MB / 1.023 GB, free: 11.95 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=400 -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