Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001781/0.001781, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.001645/0.001645, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9351/0.9368, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001787/0.9386, allocations: 0.5822 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003586/0.939, allocations: 104.3 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.939, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.939, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.9391, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.9394, allocations: 44.28 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.9395, allocations: 63.84 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.9396, allocations: 5.766 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.9396, allocations: 25.88 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.9397, allocations: 21.09 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.9397, allocations: 2.156 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.9398, allocations: 53.41 kB / 1.09 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.9399, allocations: 23.16 kB / 1.09 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.9399, allocations: 22.22 kB / 1.09 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.9401, allocations: 71.86 kB / 1.09 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9401, allocations: 1.5 kB / 1.09 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9401, allocations: 0 / 1.09 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9401, allocations: 0 / 1.09 GB, free: 4.988 MB / 0.8575 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.0004486/0.9406, allocations: 374.6 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.9406, allocations: 9.562 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.9407, allocations: 10.12 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.705e-05/0.9407, allocations: 166.8 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.9409, allocations: 280.2 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.9409, allocations: 2.969 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.9412, allocations: 76.92 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9412, allocations: 7.875 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.9412, allocations: 12.97 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.9412, allocations: 5.047 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.9416, allocations: 137.9 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.9418, allocations: 174.5 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.9421, allocations: 95.44 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.9423, allocations: 41.2 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.9423, allocations: 6.156 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.9423, allocations: 44.05 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.021e-06/0.9423, allocations: 8.875 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005306/0.9429, allocations: 143.2 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.9429, allocations: 53.09 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.124e-05/0.9429, allocations: 89.86 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.9429, allocations: 26.8 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.183e-05/0.9429, allocations: 80.8 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.943, allocations: 40.52 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.943, allocations: 31.62 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.9431, allocations: 317.1 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.9432, allocations: 30.66 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.9434, allocations: 37.69 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.9437, allocations: 74.39 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9437, allocations: 0 / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003253/0.944, allocations: 113 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.944, allocations: 13.81 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.944, allocations: 3.938 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.944, allocations: 1.156 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.9442, allocations: 23.44 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.9442, allocations: 5.078 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.9443, allocations: 12.77 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.9443, allocations: 5.219 kB / 1.092 GB, free: 2.887 MB / 0.8575 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 6.671e-05/0.9444, allocations: 119.1 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.9444, allocations: 6.922 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.9445, allocations: 13.5 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9445, allocations: 1.469 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.9445, allocations: 0 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9445, allocations: 1.453 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.9446, allocations: 184 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9446, allocations: 0.7188 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.9447, allocations: 27.91 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9447, allocations: 8.562 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.9448, allocations: 3.203 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9448, allocations: 1.031 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9448, allocations: 4 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.9451, allocations: 145.1 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.9452, allocations: 82.94 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.9452, allocations: 6.125 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.9452, allocations: 3.5 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.9453, allocations: 15.31 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.9453, allocations: 8.219 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.9453, allocations: 79.98 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9454, allocations: 0 / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002249/0.9456, allocations: 21.86 kB / 1.093 GB, free: 2.242 MB / 0.8575 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.0001799/0.9458, allocations: 116.3 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.9461, allocations: 92.62 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9461, allocations: 0 / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.9463, allocations: 51.64 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.9464, allocations: 5.531 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.9468, allocations: 177 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.9469, allocations: 0.6846 MB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.947, allocations: 22.95 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.947, allocations: 0 / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of Templates: time 0.003359/0.9504, allocations: 1.315 MB / 1.095 GB, free: 1.156 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches