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.001444/0.001444, 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.001703/0.001703, allocations: 191.6 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.633/2.633, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 0.8685 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6958, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001729/0.6975, allocations: 0.6526 MB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.6979, allocations: 111.6 kB / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.6979, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.698, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.698, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.6983, allocations: 31.89 kB / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6984, allocations: 63.94 kB / 1.017 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.6984, allocations: 4 kB / 1.017 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.6985, allocations: 19.98 kB / 1.017 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.6985, allocations: 23.95 kB / 1.017 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.6985, allocations: 4 kB / 1.017 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.6987, allocations: 47.95 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.6987, allocations: 23.91 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.6987, allocations: 23.92 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.6989, allocations: 67.83 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6989, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6989, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6989, allocations: 4 kB / 1.018 GB, free: 1.676 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.0004452/0.6993, allocations: 377 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.6994, allocations: 12.03 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.6994, allocations: 4.938 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.875e-05/0.6995, allocations: 162.4 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.6997, allocations: 277.6 kB / 1.018 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.6998, allocations: 4.375 kB / 1.018 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.7, allocations: 90.05 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7, allocations: 7.938 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.7001, allocations: 8 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7001, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.7004, allocations: 131.8 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.7006, allocations: 181.5 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.7009, allocations: 102.5 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.701, allocations: 44.77 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.7011, allocations: 7.938 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.7011, allocations: 34.56 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.7011, allocations: 0 / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.0005372/0.7016, allocations: 149.8 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.7017, allocations: 55.41 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.726e-05/0.7017, allocations: 89.86 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.7018, allocations: 25.7 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.7018, allocations: 80.14 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.7018, allocations: 39.45 kB / 1.019 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.7019, allocations: 29.7 kB / 1.019 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.702, allocations: 314.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.7021, allocations: 31.97 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.7023, allocations: 35.91 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.7025, allocations: 76.75 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7025, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003244/0.7029, allocations: 105.6 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7029, allocations: 14.12 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7029, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.7029, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.7031, allocations: 27.91 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7031, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.7032, allocations: 11.91 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.7032, allocations: 7.984 kB / 1.02 GB, free: 14.9 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.348e-05/0.7033, allocations: 114.4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.7033, allocations: 15.94 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.7034, allocations: 7.969 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7034, allocations: 3.938 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7034, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.7034, allocations: 3.984 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.7036, allocations: 185.5 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7036, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.7037, allocations: 23.98 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.7037, allocations: 7.938 kB / 1.02 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.7037, allocations: 3.984 kB / 1.02 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7038, allocations: 7.938 kB / 1.02 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7038, allocations: 0 / 1.02 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.7041, allocations: 133.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.7042, allocations: 92.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.7042, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.985e-05/0.7043, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.7044, allocations: 15.92 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.7044, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.7044, allocations: 79.28 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7044, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002347/0.7047, allocations: 24 kB / 1.021 GB, free: 14.08 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.0001982/0.7049, allocations: 119.2 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.7052, allocations: 87.98 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7052, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.7054, allocations: 43.91 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.7055, allocations: 12 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.7059, allocations: 170.6 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.7061, allocations: 0.6848 MB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.7063, allocations: 39.95 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.7064, allocations: 15.42 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7064, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.003119/0.7095, allocations: 0.9843 MB / 1.023 GB, free: 11.87 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