Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_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.001788/0.001788, allocations: 111 kB / 16.41 MB, free: 6.469 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.001678/0.001678, allocations: 187 kB / 17.34 MB, free: 5.715 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 67.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9561/0.9574, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002625/0.9601, allocations: 1.526 MB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004666/0.9605, allocations: 192.2 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.9606, allocations: 0 / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.9606, allocations: 7.938 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.9607, allocations: 3.938 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.961, allocations: 51.88 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.9611, allocations: 31.92 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.9612, allocations: 23.95 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.9613, allocations: 11.94 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.9613, allocations: 19.92 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.9613, allocations: 4 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.9615, allocations: 51.94 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.9615, allocations: 4 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.9615, allocations: 19.86 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.9617, allocations: 68.34 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9617, allocations: 0 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9617, allocations: 3.938 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.9617, allocations: 0 / 1.169 GB, free: 1.809 MB / 0.8887 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.0004804/0.9622, allocations: 355.3 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9622, allocations: 8.922 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.9623, allocations: 4.938 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.9624, allocations: 168.3 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.9624, allocations: 8.375 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.9624, allocations: 384 / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.9626, allocations: 70.2 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.9626, allocations: 192 / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9626, allocations: 7.875 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9627, allocations: 4 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.9628, allocations: 47.89 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.9632, allocations: 276.8 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.9635, allocations: 58.53 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.9636, allocations: 28.91 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.9639, allocations: 162.2 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.9639, allocations: 42.48 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.9639, allocations: 0 / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.00036/0.9643, allocations: 97.59 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.9643, allocations: 51.41 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.9644, allocations: 105.8 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.9644, allocations: 33.64 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.9645, allocations: 88.12 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.9645, allocations: 7.891 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.9645, allocations: 17.72 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.9646, allocations: 318.8 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.9647, allocations: 23.97 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.9648, allocations: 23.92 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.965, allocations: 40.81 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.965, allocations: 4 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001896/0.9652, allocations: 73.61 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9652, allocations: 12 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9652, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.9652, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.9653, allocations: 11.98 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.9653, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.9654, allocations: 11.98 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.9654, allocations: 4 kB / 1.171 GB, free: 15.42 MB / 0.9044 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 7.81e-05/0.9655, allocations: 117.7 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.9655, allocations: 4.328 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.9658, allocations: 89.53 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.9658, allocations: 3.984 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9658, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9658, allocations: 3.938 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.966, allocations: 165.6 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.966, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.966, allocations: 11.98 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9661, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.9661, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9661, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9661, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.9663, allocations: 183.3 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.9664, allocations: 77.11 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.9664, allocations: 0 / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.9665, allocations: 11.98 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.9665, allocations: 8 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9665, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.9666, allocations: 95.64 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9666, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002452/0.9669, allocations: 15.94 kB / 1.172 GB, free: 14.54 MB / 0.9044 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.0001781/0.967, allocations: 115.2 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.9673, allocations: 55.89 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9673, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.9674, allocations: 27.91 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.9676, allocations: 7.938 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.968, allocations: 144.2 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.9682, allocations: 0.6846 MB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.9682, allocations: 11.44 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.9682, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.002264/0.9705, allocations: 0.9761 MB / 1.174 GB, free: 12.46 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches