Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_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.001571/0.001572, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.00175/0.00175, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.16 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.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00258/0.00258, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.065, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003745/1.069, allocations: 1.526 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006316/1.069, allocations: 179.5 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/1.069, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/1.069, allocations: 1.734 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/1.069, allocations: 8.672 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/1.07, allocations: 50.55 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/1.07, allocations: 40.2 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/1.07, allocations: 15.7 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/1.07, allocations: 16.55 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/1.07, allocations: 17.38 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/1.07, allocations: 3.562 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/1.071, allocations: 49.39 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/1.071, allocations: 15.02 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/1.071, allocations: 13.61 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/1.071, allocations: 69.33 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.071, allocations: 0.6562 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.484e-06/1.071, allocations: 4 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.323e-06/1.071, allocations: 0.8125 kB / 1.091 GB, free: 4.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005357/1.071, allocations: 354.6 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.071, allocations: 9.031 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/1.072, allocations: 3.766 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.904e-05/1.072, allocations: 171.7 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/1.072, allocations: 1.688 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/1.072, allocations: 6.688 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/1.072, allocations: 66.95 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.072, allocations: 192 / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.072, allocations: 8.906 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.072, allocations: 1.203 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/1.072, allocations: 43.75 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/1.073, allocations: 278.3 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/1.073, allocations: 65.83 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/1.073, allocations: 25.67 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/1.073, allocations: 166.2 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/1.073, allocations: 32.34 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.905e-06/1.073, allocations: 4 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000405/1.074, allocations: 96.8 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/1.074, allocations: 53.33 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/1.074, allocations: 106.7 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.074, allocations: 26.45 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/1.074, allocations: 95.22 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/1.074, allocations: 5.953 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/1.074, allocations: 21.58 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/1.074, allocations: 317.7 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/1.074, allocations: 20.92 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/1.074, allocations: 20.94 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/1.075, allocations: 49.17 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.075, allocations: 9.125 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002253/1.075, allocations: 73.42 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.075, allocations: 8.031 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.075, allocations: 0.5625 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.075, allocations: 0.9375 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/1.075, allocations: 14.38 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/1.075, allocations: 1.578 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/1.075, allocations: 14.61 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/1.075, allocations: 5.672 kB / 1.093 GB, free: 2.246 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: 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 5.954e-05/1.075, allocations: 112.5 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/1.075, allocations: 2.312 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/1.075, allocations: 83.47 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.075, allocations: 0.7188 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.075, allocations: 0.7812 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.075, allocations: 0.7969 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/1.076, allocations: 174.2 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.076, allocations: 0 / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/1.076, allocations: 15.31 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.076, allocations: 0.9375 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.076, allocations: 0.6562 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.076, allocations: 0.7812 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.076, allocations: 4.844 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/1.076, allocations: 178.1 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/1.076, allocations: 78.47 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/1.076, allocations: 1.328 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/1.076, allocations: 5.953 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/1.076, allocations: 9.672 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/1.076, allocations: 6.297 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.372e-05/1.076, allocations: 91.45 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.076, allocations: 0 / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002641/1.076, allocations: 22.23 kB / 1.093 GB, free: 1.527 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: 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.0002009/1.077, allocations: 118.2 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002524/1.077, allocations: 46.58 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.077, allocations: 0 / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/1.077, allocations: 25.2 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/1.077, allocations: 10.64 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/1.078, allocations: 147.4 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/1.078, allocations: 0.6794 MB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/1.078, allocations: 10.73 kB / 1.094 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/1.078, allocations: 4.594 kB / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of Templates: time 0.003255/1.081, allocations: 0.98 MB / 1.095 GB, free: 496 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches