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.001513/0.001513, allocations: 107.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.001639/0.001639, 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.15 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.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 71.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003138/1.022, allocations: 1.53 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005013/1.022, allocations: 180.7 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/1.022, allocations: 4 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/1.022, allocations: 5.062 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/1.022, allocations: 5.219 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/1.023, allocations: 51.03 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.886e-05/1.023, allocations: 35.67 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/1.023, allocations: 12.8 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/1.023, allocations: 15.31 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/1.023, allocations: 25.95 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/1.023, allocations: 3.594 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/1.023, allocations: 49.22 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/1.023, allocations: 14.73 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/1.023, allocations: 17.7 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/1.024, allocations: 61.23 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.024, allocations: 8.969 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/1.024, allocations: 0 / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.069e-06/1.024, allocations: 0 / 1.091 GB, free: 4.191 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.0004552/1.024, allocations: 357.6 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.024, allocations: 9.969 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/1.024, allocations: 3.75 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/1.024, allocations: 166.5 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/1.024, allocations: 2.281 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/1.024, allocations: 6.406 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/1.024, allocations: 62.47 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.024, allocations: 192 / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/1.024, allocations: 5.578 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.024, allocations: 5.062 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/1.025, allocations: 47.36 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/1.025, allocations: 275.2 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/1.025, allocations: 56.62 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/1.026, allocations: 30.34 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/1.026, allocations: 166.2 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/1.026, allocations: 36.39 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.026, allocations: 0 / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003897/1.026, allocations: 101 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/1.026, allocations: 57.03 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/1.026, allocations: 111.1 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/1.026, allocations: 25.7 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/1.026, allocations: 91.42 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/1.026, allocations: 5.062 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/1.026, allocations: 18.47 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.217e-05/1.026, allocations: 318.3 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/1.027, allocations: 23.83 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-05/1.027, allocations: 24.59 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/1.027, allocations: 41.84 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.027, allocations: 0 / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002094/1.027, allocations: 74.78 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.027, allocations: 8.422 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.027, allocations: 4 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.027, allocations: 1.406 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/1.027, allocations: 14.97 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.027, allocations: 0.5156 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/1.027, allocations: 14.12 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/1.027, allocations: 6.125 kB / 1.093 GB, free: 2.234 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.956e-05/1.027, allocations: 121.8 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/1.027, allocations: 1.906 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/1.028, allocations: 83.47 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.028, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.028, allocations: 0.7188 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.028, allocations: 0.7969 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/1.028, allocations: 170 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.028, allocations: 0 / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/1.028, allocations: 11.88 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.028, allocations: 0.7188 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/1.028, allocations: 4.906 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.028, allocations: 0.6562 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.028, allocations: 1.406 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/1.028, allocations: 181.7 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/1.028, allocations: 78.56 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/1.028, allocations: 0.8125 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/1.028, allocations: 11.2 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/1.028, allocations: 8.75 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/1.028, allocations: 6.109 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.356e-05/1.028, allocations: 87.31 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.028, allocations: 0.6875 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002556/1.029, allocations: 22.33 kB / 1.093 GB, free: 1.512 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.0001835/1.029, allocations: 110.6 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002506/1.029, allocations: 57.97 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.029, allocations: 0 / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/1.029, allocations: 24.86 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/1.029, allocations: 7.109 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/1.03, allocations: 146.6 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/1.03, allocations: 0.6837 MB / 1.094 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/1.03, allocations: 10.69 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.03, allocations: 1.062 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of Templates: time 0.002987/1.033, allocations: 0.9775 MB / 1.095 GB, free: 476 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