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.001083/0.001083, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009963/0.0009963, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9458, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001996/0.9478, allocations: 1.236 MB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004841/0.9483, allocations: 180.3 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.9484, allocations: 0 / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.9484, allocations: 0 / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.9485, allocations: 7.984 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.9488, allocations: 39.83 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.646e-05/0.9489, allocations: 23.97 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.949, allocations: 7.984 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.577e-05/0.9491, allocations: 15.94 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.9491, allocations: 15.98 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.9491, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.9493, allocations: 39.95 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.9493, allocations: 7.922 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.9493, allocations: 25.7 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.9495, allocations: 39.92 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.9495, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9495, allocations: 4 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.9495, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 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.0005086/0.95, allocations: 353.2 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.9501, allocations: 11.98 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.9501, allocations: 15.89 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.9503, allocations: 171 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.9503, allocations: 4 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.9503, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.9506, allocations: 81.61 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9506, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.9506, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9506, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.9508, allocations: 55.95 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.9513, allocations: 280.7 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.9516, allocations: 62.53 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.9519, allocations: 174.4 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.9519, allocations: 30.56 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.9519, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004183/0.9523, allocations: 117.5 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.9524, allocations: 55.41 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.9525, allocations: 105.8 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.9525, allocations: 33.64 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.9526, allocations: 80.14 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.9526, allocations: 11.91 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.9526, allocations: 0 / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9528, allocations: 318.8 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.9529, allocations: 23.98 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.953, allocations: 23.98 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.9531, allocations: 31.92 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.9531, allocations: 0 / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002427/0.9533, allocations: 93.44 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9534, allocations: 4 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9534, allocations: 4 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.9534, allocations: 4 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.9535, allocations: 11.98 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.9535, allocations: 0 / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.9536, allocations: 15.92 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.9536, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.7794 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.358e-05/0.9537, allocations: 117.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.9537, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.954, allocations: 97.55 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.954, allocations: 3.938 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.954, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.954, allocations: 3.984 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.9542, allocations: 161.7 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.9542, allocations: 7.953 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.9543, allocations: 11.98 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.9543, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.9543, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.9543, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.9543, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.9546, allocations: 183.4 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.9547, allocations: 85.05 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.9547, allocations: 4 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.9548, allocations: 8 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.9549, allocations: 11.98 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.9549, allocations: 4 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.9549, allocations: 91.2 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9549, allocations: 0 / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002554/0.9552, allocations: 20 kB / 1.025 GB, free: 12.17 MB / 0.7794 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 (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.0001962/0.9554, allocations: 115.2 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.9556, allocations: 60.38 kB / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9557, allocations: 0 / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.9558, allocations: 31.92 kB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.956, allocations: 3.984 kB / 1.025 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.9563, allocations: 124.8 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.9566, allocations: 0.6809 MB / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.9567, allocations: 11.97 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.9567, allocations: 11.44 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.9567, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.003522/0.9602, allocations: 0.8397 MB / 1.027 GB, free: 10.24 MB / 0.7794 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