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.382/2.382, allocations: 390.5 MB / 398 MB, free: 10.95 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.001069/0.001068, allocations: 184.3 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0008984/0.0008983, allocations: 107.4 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.133e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3138, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.345, allocations: 150 MB / 1.359 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/1.346, allocations: 71.95 kB / 1.359 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004427/1.35, allocations: 1.342 MB / 1.36 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/1.35, allocations: 0 / 1.36 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.35, allocations: 0 / 1.36 GB, free: 33.21 MB / 0.8386 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.0003453/1.35, allocations: 354.8 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.35, allocations: 7.688 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/1.351, allocations: 12.38 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.351, allocations: 168.7 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/1.351, allocations: 0 / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/1.351, allocations: 0.5625 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.584e-05/1.351, allocations: 18.66 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/1.351, allocations: 49.16 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.351, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.351, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.351, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/1.351, allocations: 262.8 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/1.351, allocations: 41.64 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/1.351, allocations: 17.3 kB / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/1.352, allocations: 413.6 kB / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/1.352, allocations: 34.56 kB / 1.361 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.352, allocations: 0 / 1.361 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003204/1.352, allocations: 59.62 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/1.352, allocations: 52.58 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/1.352, allocations: 107.6 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/1.352, allocations: 25.7 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/1.352, allocations: 89.03 kB / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/1.352, allocations: 3.969 kB / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/1.352, allocations: 0 / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/1.352, allocations: 316.4 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/1.352, allocations: 7.75 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/1.352, allocations: 7.656 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/1.353, allocations: 21.72 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.353, allocations: 0 / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001966/1.353, allocations: 67.83 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.353, allocations: 3.812 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.353, allocations: 0 / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.353, allocations: 3.906 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/1.353, allocations: 14.7 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/1.353, allocations: 1.547 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/1.353, allocations: 9.469 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/1.353, allocations: 3.953 kB / 1.362 GB, free: 31.16 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.863e-05/1.353, allocations: 106.4 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/1.353, allocations: 0 / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/1.353, allocations: 78.77 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.353, allocations: 4.031 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.353, allocations: 1.734 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.353, allocations: 0 / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/1.354, allocations: 148.3 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.354, allocations: 0 / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/1.354, allocations: 16.89 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.354, allocations: 0 / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.354, allocations: 0 / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/1.354, allocations: 0 / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.354, allocations: 4.891 kB / 1.363 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/1.354, allocations: 161.2 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/1.354, allocations: 86.69 kB / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/1.354, allocations: 256 / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/1.354, allocations: 18.7 kB / 1.363 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/1.354, allocations: 7.078 kB / 1.363 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.354, allocations: 7.812 kB / 1.363 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.834e-05/1.354, allocations: 83.19 kB / 1.363 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.354, allocations: 0 / 1.363 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002258/1.354, allocations: 20.89 kB / 1.363 GB, free: 30.5 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.0001993/1.355, allocations: 122.7 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.862e-05/1.355, allocations: 17.17 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.355, allocations: 0 / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/1.355, allocations: 16.5 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/1.355, allocations: 10.61 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/1.355, allocations: 71.23 kB / 1.363 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.355, allocations: 0.6847 MB / 1.364 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.473e-05/1.356, allocations: 0.6562 kB / 1.364 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/1.356, allocations: 12.72 kB / 1.364 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.356, allocations: 0 / 1.364 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.002941/1.359, allocations: 0.7803 MB / 1.365 GB, free: 29.56 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