Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.262/2.262, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 184.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.693/1.693, allocations: 221.3 MB / 0.7915 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 91.83 kB / 0.9318 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.275e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2784, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.928/1.206, allocations: 150.7 MB / 1.366 GB, free: 3.383 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/1.207, allocations: 72.08 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004383/1.211, allocations: 1.348 MB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.884e-06/1.211, allocations: 0 / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.211, allocations: 0 / 1.367 GB, free: 2.145 MB / 0.823 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.0004707/1.212, allocations: 349.6 kB / 1.368 GB, free: 1.762 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.212, allocations: 12.03 kB / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/1.212, allocations: 8.531 kB / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.212, allocations: 167 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/1.212, allocations: 4 kB / 1.368 GB, free: 1.535 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/1.212, allocations: 3.938 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/1.212, allocations: 48.94 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.212, allocations: 0 / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.212, allocations: 3.312 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.212, allocations: 7.984 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.488e-05/1.212, allocations: 19.69 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/1.213, allocations: 287.8 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/1.213, allocations: 43.75 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/1.213, allocations: 13.8 kB / 1.368 GB, free: 1.09 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/1.213, allocations: 409 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.214, allocations: 34.56 kB / 1.369 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/1.214, allocations: 0 / 1.369 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002026/1.214, allocations: 53.52 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/1.214, allocations: 58.66 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/1.214, allocations: 104.9 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/1.214, allocations: 25.7 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/1.214, allocations: 84.02 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/1.214, allocations: 11.91 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/1.214, allocations: 0 / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.214, allocations: 317.3 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/1.214, allocations: 7.562 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/1.214, allocations: 4 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/1.214, allocations: 11.62 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.214, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001003/1.214, allocations: 52.78 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.214, allocations: 11.94 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.214, allocations: 3.938 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.214, allocations: 4 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/1.214, allocations: 11.98 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.215, allocations: 3.953 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/1.215, allocations: 11.98 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.215, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 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 () * 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 6.413e-05/1.215, allocations: 105 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/1.215, allocations: 4 kB / 1.369 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/1.215, allocations: 63.58 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.215, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.215, allocations: 0.875 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.215, allocations: 3.953 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/1.215, allocations: 176.6 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.215, allocations: 3.938 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/1.215, allocations: 15.98 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.215, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.215, allocations: 8 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.215, allocations: 0 / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.215, allocations: 0 / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/1.215, allocations: 158.1 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/1.215, allocations: 77.11 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/1.215, allocations: 4 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/1.216, allocations: 7.984 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/1.216, allocations: 8 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/1.216, allocations: 0 / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.187e-05/1.216, allocations: 94.56 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 0 / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002416/1.216, allocations: 22.56 kB / 1.37 GB, free: 14.98 MB / 0.8386 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 () * 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.000233/1.216, allocations: 130.4 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.216, allocations: 15.44 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.216, allocations: 11.06 kB / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/1.216, allocations: 15.17 kB / 1.37 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/1.217, allocations: 3.953 kB / 1.37 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/1.217, allocations: 74.8 kB / 1.37 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/1.217, allocations: 0.6848 MB / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.722e-05/1.217, allocations: 4 kB / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/1.217, allocations: 11.44 kB / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.217, allocations: 0 / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of Templates: time 0.003198/1.22, allocations: 0.8212 MB / 1.372 GB, free: 13.19 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches