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.001336/0.001337, allocations: 101.4 kB / 16.35 MB, free: 5.875 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.001253/0.001252, allocations: 198.8 kB / 17.3 MB, free: 5.516 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 14.98 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.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.75 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2693, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002754/0.2721, allocations: 1.534 MB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004467/0.2725, allocations: 185.8 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.2726, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.2726, allocations: 3.938 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.2727, allocations: 3.938 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.273, allocations: 47.89 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.2731, allocations: 43.89 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.2732, allocations: 8 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.2732, allocations: 15.92 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.2733, allocations: 23.92 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2733, allocations: 4 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2734, allocations: 43.95 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.2734, allocations: 11.98 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.2735, allocations: 15.88 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2736, allocations: 63.84 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2736, allocations: 0 / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2736, allocations: 0 / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.2737, 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.0005048/0.2742, allocations: 367.2 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.2742, allocations: 16.86 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.2743, allocations: 0.9375 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2744, allocations: 164.4 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.2745, allocations: 4.359 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2745, allocations: 20.31 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.2748, allocations: 62.22 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2748, allocations: 192 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2748, allocations: 7.922 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.2748, allocations: 4 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.275, allocations: 43.95 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.2756, allocations: 288.6 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.2759, allocations: 58.55 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.2761, allocations: 24.89 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.2763, allocations: 170.2 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2764, allocations: 34.56 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.2764, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004521/0.2768, allocations: 97.47 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2769, allocations: 55.41 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.277, allocations: 109.8 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.277, allocations: 25.7 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.2771, allocations: 84.14 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.2771, allocations: 11.91 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.2772, allocations: 21.7 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2773, allocations: 314.8 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.2774, allocations: 19.98 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.2775, allocations: 19.97 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2777, allocations: 44.83 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2777, allocations: 3.984 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002135/0.2779, allocations: 77.59 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2779, allocations: 4 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.278, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.278, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.2781, allocations: 15.92 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2781, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.2782, allocations: 11.98 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2782, allocations: 4 kB / 1.023 GB, free: 5.449 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 8.349e-05/0.2783, allocations: 113.8 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.2783, allocations: 7.906 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.2786, allocations: 81.48 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2786, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2786, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2786, allocations: 8 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2788, allocations: 174 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2788, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.2789, allocations: 7.984 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2789, allocations: 4 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2789, allocations: 0 / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2789, allocations: 0 / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2789, allocations: 4 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2791, allocations: 183.4 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2792, allocations: 81.02 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2792, allocations: 4 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.2793, allocations: 7.984 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.2794, allocations: 11.92 kB / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2794, allocations: 4 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.2794, allocations: 83.58 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2794, allocations: 4 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002551/0.2797, allocations: 24 kB / 1.024 GB, free: 4.559 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.0001829/0.2799, allocations: 111.2 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2801, allocations: 43.95 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2801, allocations: 0 / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.2802, allocations: 31.91 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2805, allocations: 15.81 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.2808, allocations: 117.6 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.2811, allocations: 0.6807 MB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.2811, allocations: 4 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.2811, allocations: 11.44 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2812, allocations: 4 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of Templates: time 0.003357/0.2845, allocations: 0.966 MB / 1.026 GB, free: 2.516 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 gbode -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