Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 181.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008068/0.0008067, allocations: 99.19 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8.562 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2159, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.3873, allocations: 132.3 MB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.3875, allocations: 75.95 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003729/0.3912, allocations: 1.324 MB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.564e-06/0.3913, allocations: 4 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3913, allocations: 3.938 kB / 1.031 GB, free: 10.06 MB / 0.6823 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.0003513/0.3916, allocations: 355.2 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.3917, allocations: 12.03 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.3917, allocations: 7.906 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3918, allocations: 175 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3918, allocations: 4 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3918, allocations: 4 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.392, allocations: 73.58 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-06/0.3921, allocations: 0 / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3921, allocations: 0 / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3921, allocations: 8 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.3923, allocations: 51.95 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.3926, allocations: 280.8 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.3929, allocations: 70.45 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.3932, allocations: 401.7 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3933, allocations: 34.56 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3933, allocations: 8 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003603/0.3936, allocations: 101.6 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3937, allocations: 63.34 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.3937, allocations: 104.9 kB / 1.032 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3938, allocations: 29.64 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.3938, allocations: 84.14 kB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.3938, allocations: 11.84 kB / 1.032 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.3938, allocations: 4 kB / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.3939, allocations: 318.8 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.394, allocations: 27.98 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.868e-05/0.3941, allocations: 23.97 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.377e-05/0.3942, allocations: 23.98 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3943, allocations: 0 / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002161/0.3945, allocations: 89.56 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3945, allocations: 4 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.3945, allocations: 0 / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.3945, allocations: 0 / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.3946, allocations: 19.92 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.3946, allocations: 4 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.3947, allocations: 11.98 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3947, allocations: 3.953 kB / 1.033 GB, free: 7.395 MB / 0.6823 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,bin.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.3948, allocations: 116.1 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3948, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.3951, allocations: 97.55 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3951, allocations: 0 / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3951, allocations: 0 / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3951, allocations: 3.984 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3953, allocations: 177.6 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3953, allocations: 0 / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.3954, allocations: 15.98 kB / 1.033 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3954, allocations: 4 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3954, allocations: 3.938 kB / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3954, allocations: 0 / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3954, allocations: 0 / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.3956, allocations: 188.1 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.3957, allocations: 81.52 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3957, allocations: 3.938 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.3958, allocations: 8 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.3959, allocations: 7.984 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3959, allocations: 0 / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.3959, allocations: 87.27 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3959, allocations: 4 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002426/0.3962, allocations: 24 kB / 1.034 GB, free: 6.488 MB / 0.6823 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 (bin.y,bin.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.3964, allocations: 119.2 kB / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3966, allocations: 63.88 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.3966, allocations: 7.938 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.3967, allocations: 35.91 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.3969, allocations: 7.891 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.3971, allocations: 124.6 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3974, allocations: 0.6926 MB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.3974, allocations: 4 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3975, allocations: 11.44 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3975, allocations: 0 / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of Templates: time 0.002497/0.4, allocations: 0.8228 MB / 1.036 GB, free: 4.543 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Binomial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches