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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001674/0.001674, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001856/0.001856, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 60.12 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3386, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003218/0.3419, allocations: 1.532 MB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005002/0.3424, allocations: 177.9 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.3424, allocations: 4 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.3425, allocations: 3.938 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.3425, allocations: 3.938 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.3429, allocations: 47.88 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.343, allocations: 35.92 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3431, allocations: 15.98 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.3431, allocations: 19.92 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.3432, allocations: 23.91 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3432, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3433, allocations: 43.97 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.3434, allocations: 15.92 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.3434, allocations: 11.92 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.3436, allocations: 67.84 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3436, allocations: 0 / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3436, allocations: 0 / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3436, allocations: 0 / 1.02 GB, free: 8.652 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.0005158/0.3441, allocations: 359.6 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3442, allocations: 8.922 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.3442, allocations: 4.938 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3444, allocations: 172.2 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3444, allocations: 8.375 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3444, allocations: 384 / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.3446, allocations: 66.23 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3447, allocations: 192 / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3447, allocations: 11.92 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3447, allocations: 0 / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3449, allocations: 43.95 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.3453, allocations: 288.6 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.3456, allocations: 62.53 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3458, allocations: 28.91 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.346, allocations: 162.2 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.346, allocations: 38.55 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 3.006e-06/0.346, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003976/0.3464, allocations: 109.4 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3465, allocations: 51.41 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.3466, allocations: 109.8 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3466, allocations: 25.7 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.3467, allocations: 84.14 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3467, allocations: 7.891 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.3467, allocations: 17.72 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3469, allocations: 322.8 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/0.347, allocations: 19.97 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.3471, allocations: 19.98 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3473, allocations: 52.75 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3473, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002262/0.3475, allocations: 69.66 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3475, allocations: 8 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3475, allocations: 0 / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3476, allocations: 0 / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.3476, allocations: 11.98 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3477, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.3477, allocations: 11.98 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3477, allocations: 3.938 kB / 1.022 GB, free: 6.254 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.95e-05/0.3478, allocations: 117.8 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3479, allocations: 3.906 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.3481, allocations: 89.48 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3482, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3482, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3482, allocations: 3.984 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3484, allocations: 165.6 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3484, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.3484, allocations: 19.98 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3485, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3485, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3485, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3485, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3488, allocations: 175.4 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.3488, allocations: 85.42 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3489, allocations: 4 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.3489, allocations: 4 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.349, allocations: 11.98 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.349, allocations: 0 / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.3491, allocations: 91.27 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3491, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002419/0.3493, allocations: 12 kB / 1.023 GB, free: 5.383 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.0001948/0.3495, allocations: 123.2 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3498, allocations: 51.89 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3498, allocations: 0 / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.3499, allocations: 19.98 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3502, allocations: 15.86 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.3505, allocations: 147.4 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3508, allocations: 0.6845 MB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.3509, allocations: 7.438 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3509, allocations: 0 / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of Templates: time 0.002531/0.3534, allocations: 0.9795 MB / 1.025 GB, free: 3.293 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 -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