Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_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.001496/0.001496, allocations: 103 kB / 16.37 MB, free: 6.438 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.001685/0.001685, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.212/2.212, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 67.55 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2543, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002596/0.257, allocations: 1.539 MB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.2574, allocations: 173.9 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.2574, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.2574, allocations: 3.938 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.089e-05/0.2575, allocations: 3.938 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.2578, allocations: 51.88 kB / 1.021 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.2578, allocations: 39.86 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.309e-05/0.2579, allocations: 15.98 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.2579, allocations: 11.98 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.258, allocations: 27.91 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.258, allocations: 4 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.2581, allocations: 35.97 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.2581, allocations: 19.91 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.2581, allocations: 15.94 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2583, allocations: 63.78 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2583, allocations: 3.938 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2583, allocations: 4 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.2583, allocations: 0 / 1.021 GB, free: 7.855 MB / 0.795 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.000336/0.2586, allocations: 363.3 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.424e-05/0.2587, allocations: 12.92 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.2587, allocations: 0.9375 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.052e-05/0.2588, allocations: 168.3 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2588, allocations: 384 / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.2588, allocations: 4.375 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.259, allocations: 66.22 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-06/0.259, allocations: 192 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.259, allocations: 7.938 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-06/0.259, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.2592, allocations: 43.95 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.2595, allocations: 288.6 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.2597, allocations: 66.53 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.2598, allocations: 24.91 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.26, allocations: 174.2 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.26, allocations: 30.56 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.26, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003044/0.2603, allocations: 97.48 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.2604, allocations: 55.39 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.2604, allocations: 109.9 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2605, allocations: 29.69 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.2605, allocations: 88.08 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.2605, allocations: 7.906 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.2605, allocations: 17.72 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.2606, allocations: 322.8 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.2607, allocations: 19.98 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.2608, allocations: 15.97 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.261, allocations: 48.77 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.261, allocations: 0 / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001951/0.2612, allocations: 81.64 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.2612, allocations: 4 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.2612, allocations: 336 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.2612, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.2613, allocations: 11.98 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.2613, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.2613, allocations: 4 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2614, allocations: 4 kB / 1.023 GB, free: 5.469 MB / 0.795 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 6.986e-05/0.2614, allocations: 125.8 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.2615, allocations: 7.906 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.2617, allocations: 85.42 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2617, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.2617, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2617, allocations: 4 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.2619, allocations: 165.6 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2619, allocations: 8 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.2619, allocations: 7.984 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.262, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.262, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.262, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.262, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.2622, allocations: 179.4 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.2622, allocations: 85.02 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2623, allocations: 4 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.2623, allocations: 7.984 kB / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2624, allocations: 4 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2624, allocations: 4 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.656e-05/0.2624, allocations: 87.27 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2624, allocations: 3.938 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002255/0.2627, allocations: 24 kB / 1.024 GB, free: 4.578 MB / 0.795 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.0001312/0.2628, allocations: 111.2 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.263, allocations: 47.95 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.263, allocations: 0 / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.2631, allocations: 27.91 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2633, allocations: 11.88 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.2636, allocations: 118.2 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2637, allocations: 0.6807 MB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.2638, allocations: 7.984 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.2638, allocations: 11.44 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2638, allocations: 0 / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of Templates: time 0.002616/0.2664, allocations: 0.9776 MB / 1.026 GB, free: 2.531 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches