Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007498/0.007498, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001778/0.001778, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8489, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002635/0.8516, allocations: 1.52 MB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.852, allocations: 187.4 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.8521, allocations: 0 / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.8521, allocations: 4 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.8522, allocations: 3.938 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.8525, allocations: 51.88 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.8526, allocations: 35.92 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.8527, allocations: 15.92 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.8528, allocations: 15.98 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.8528, allocations: 15.92 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.8529, allocations: 8 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.853, allocations: 47.95 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.853, allocations: 15.91 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.853, allocations: 11.94 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.8532, allocations: 67.78 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8532, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8532, allocations: 4 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.8532, allocations: 0 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004884/0.8537, allocations: 355.2 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.8538, allocations: 16.02 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.8538, allocations: 0.9375 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.8539, allocations: 172.3 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.854, allocations: 4.375 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.854, allocations: 4.375 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.8542, allocations: 62.22 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.8542, allocations: 192 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.8542, allocations: 3.938 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.8542, allocations: 7.938 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.8544, allocations: 47.95 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.8549, allocations: 278.6 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.8552, allocations: 62.47 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.8553, allocations: 28.91 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.8556, allocations: 170.2 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8556, allocations: 30.56 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.8556, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0004045/0.856, allocations: 89.64 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.8561, allocations: 55.41 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.8562, allocations: 113.8 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.8562, allocations: 25.7 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.8562, allocations: 88.12 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.8563, allocations: 11.84 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.8563, allocations: 21.66 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8564, allocations: 318.8 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.8565, allocations: 23.92 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.322e-05/0.8566, allocations: 19.98 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.8568, allocations: 48.81 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8568, allocations: 0 / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002185/0.8571, allocations: 73.89 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8571, allocations: 7.984 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.8571, allocations: 0 / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.8571, allocations: 4 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.8572, allocations: 15.94 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8572, allocations: 3.984 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.8573, allocations: 7.938 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.8573, allocations: 7.984 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.681e-05/0.8574, allocations: 109.8 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.8574, allocations: 7.984 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.8577, allocations: 85.55 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8577, allocations: 0 / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8577, allocations: 4 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8577, allocations: 0 / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.8579, allocations: 169.6 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8579, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.858, allocations: 11.98 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.858, allocations: 3.938 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.858, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.858, allocations: 8 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.858, allocations: 0 / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.8583, allocations: 175.3 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.8584, allocations: 77.11 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.8584, allocations: 4 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.8585, allocations: 7.984 kB / 1.212 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.8585, allocations: 8 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.8585, allocations: 4 kB / 1.212 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.8586, allocations: 87.27 kB / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8586, allocations: 0 / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002472/0.8588, allocations: 16 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001646/0.859, allocations: 119.2 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.8593, allocations: 55.89 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8593, allocations: 0 / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.8594, allocations: 27.97 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.8596, allocations: 10.06 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.8599, allocations: 121.4 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.8602, allocations: 0.6807 MB / 1.213 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.8602, allocations: 8 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.8602, allocations: 15.42 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.8602, allocations: 0 / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of Templates: time 0.003446/0.8637, allocations: 0.9946 MB / 1.214 GB, free: 6.25 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches