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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008469/0.0008469, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009369/0.0009372, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 15.94 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8303, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0009127/0.8313, allocations: 325.3 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.8317, allocations: 83.81 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.8317, allocations: 4 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.8318, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 1.04e-05/0.8318, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.8322, allocations: 35.89 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.8323, allocations: 55.94 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.8324, allocations: 3.938 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.8325, allocations: 31.95 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.8325, allocations: 15.98 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.8325, allocations: 4 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.8327, allocations: 43.94 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.8327, allocations: 19.92 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.8328, allocations: 37.7 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.8329, allocations: 51.86 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.833, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.833, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.833, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.7794 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.0004969/0.8335, allocations: 351.3 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.8335, allocations: 8.562 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.8336, allocations: 8 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.8337, allocations: 161 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.834, allocations: 288.9 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.834, allocations: 11.95 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.8343, allocations: 73.64 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8343, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.8343, allocations: 7.969 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8343, allocations: 4 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.8347, allocations: 139.8 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.8349, allocations: 181.5 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.8352, allocations: 98.45 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.8354, allocations: 40.84 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.8354, allocations: 7.984 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.8354, allocations: 38.5 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.8354, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005388/0.836, allocations: 137.9 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.836, allocations: 59.39 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.8361, allocations: 97.86 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.8361, allocations: 29.64 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.8362, allocations: 80.33 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.8362, allocations: 31.47 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.8363, allocations: 4 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8364, allocations: 318.8 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.8366, allocations: 31.97 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.8367, allocations: 27.98 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.8368, allocations: 40.62 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8368, allocations: 3.938 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000322/0.8372, allocations: 113.5 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.8372, allocations: 4 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.8372, allocations: 3.953 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8372, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.8374, allocations: 35.91 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.8374, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.8375, allocations: 7.906 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.8375, allocations: 3.984 kB / 1.025 GB, free: 12.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.8376, allocations: 121.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.8376, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.8377, allocations: 11.97 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8377, allocations: 7.953 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.8377, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.8377, allocations: 3.984 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.8379, allocations: 181.5 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8379, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.838, allocations: 23.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.8381, allocations: 7.938 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.8381, allocations: 3.984 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.8381, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8381, allocations: 3.953 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.8384, allocations: 137 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.8385, allocations: 81.09 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.8385, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.8386, allocations: 12 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.8387, allocations: 19.92 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.8387, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.8387, allocations: 75.28 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8387, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002377/0.839, allocations: 24 kB / 1.026 GB, free: 11.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002245/0.8392, allocations: 123.2 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.8395, allocations: 83.88 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8395, allocations: 4 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.8397, allocations: 47.91 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.8398, allocations: 11.98 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.8402, allocations: 158.6 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.8405, allocations: 0.6926 MB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.8407, allocations: 31.97 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.8407, allocations: 23.42 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8407, allocations: 7.938 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.003538/0.8443, allocations: 0.9363 MB / 1.028 GB, free: 9.66 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