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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008229/0.0008229, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 183 kB / 16.92 MB, free: 6.926 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 462.7 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 12.03 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001887/0.3293, allocations: 1.259 MB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005572/0.3299, allocations: 183.4 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.3299, allocations: 0 / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.33, allocations: 0 / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.33, allocations: 3.938 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.3303, allocations: 43.94 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.3304, allocations: 27.92 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.3305, allocations: 16 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.3305, allocations: 15.92 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/0.3306, allocations: 15.91 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3306, allocations: 0 / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3307, allocations: 43.97 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.3308, allocations: 0 / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.3308, allocations: 45.56 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3309, allocations: 39.92 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3309, allocations: 3.938 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3309, allocations: 4 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.3309, allocations: 0 / 1.061 GB, free: 3.238 MB / 0.8106 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.000486/0.3314, allocations: 351.7 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3315, allocations: 15.97 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.3315, allocations: 4.844 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3317, allocations: 172.4 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3317, allocations: 384 / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3317, allocations: 12.31 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3319, allocations: 66.22 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3319, allocations: 192 / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3319, allocations: 3.938 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.332, allocations: 4 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.3322, allocations: 63.88 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.3326, allocations: 280.7 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.3329, allocations: 66.53 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3331, allocations: 28.91 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.3333, allocations: 166.2 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3333, allocations: 34.5 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3333, allocations: 4 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004085/0.3337, allocations: 109.6 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3338, allocations: 51.41 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.3339, allocations: 117.8 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3339, allocations: 25.7 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.334, allocations: 84.14 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.334, allocations: 11.89 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.334, allocations: 13.72 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3341, allocations: 318.7 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3342, allocations: 31.97 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.3343, allocations: 27.92 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3345, allocations: 52.81 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3345, allocations: 4 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002282/0.3348, allocations: 85.94 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3348, allocations: 4 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3348, allocations: 0 / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.3348, allocations: 4.047 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.3349, allocations: 23.97 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3349, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.335, allocations: 7.984 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.335, allocations: 4 kB / 1.063 GB, free: 0.7695 MB / 0.8106 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.59e-05/0.3351, allocations: 117.7 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3351, allocations: 7.906 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.3354, allocations: 101.5 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3354, allocations: 0 / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3355, allocations: 0 / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3355, allocations: 0 / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.3356, allocations: 169.6 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3356, allocations: 0 / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.3357, allocations: 16 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3357, allocations: 0 / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3357, allocations: 3.984 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3358, allocations: 0 / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3358, allocations: 0 / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.336, allocations: 191.4 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.3361, allocations: 81.02 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3361, allocations: 3.984 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3362, allocations: 8 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.3363, allocations: 3.984 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3363, allocations: 8 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.3363, allocations: 87.27 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 0 / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002536/0.3366, allocations: 20 kB / 1.064 GB, free: 15.86 MB / 0.8262 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.0001691/0.3368, allocations: 111.3 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.337, allocations: 63.89 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.337, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3372, allocations: 27.98 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3374, allocations: 14.27 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.3378, allocations: 174.1 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.338, allocations: 0.6809 MB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.3381, allocations: 7.438 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3381, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.002434/0.3405, allocations: 0.9644 MB / 1.066 GB, free: 13.76 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches