Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_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.00113/0.00113, allocations: 108 kB / 15.6 MB, free: 132 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.001133/0.001133, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.2 MB / 0.6646 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7877, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003408/0.7912, allocations: 1.534 MB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005716/0.7918, allocations: 175.9 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.7919, allocations: 1.125 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.204e-05/0.792, allocations: 3.938 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.792, allocations: 5.094 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.7924, allocations: 55.47 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.7925, allocations: 41.78 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.7927, allocations: 10.38 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.7927, allocations: 17.92 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.7928, allocations: 21.12 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.7928, allocations: 3.312 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.793, allocations: 46.81 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.793, allocations: 9.234 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.793, allocations: 16.17 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.7932, allocations: 69.91 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7932, allocations: 3.938 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.005e-06/0.7932, allocations: 0 / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.7932, allocations: 0 / 0.9515 GB, free: 7.617 MB / 0.7169 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.0005033/0.7937, allocations: 350.9 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7938, allocations: 13.33 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.7938, allocations: 7.406 kB / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.7939, allocations: 166.5 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.794, allocations: 9.406 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.794, allocations: 7.25 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.7942, allocations: 66.7 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.7942, allocations: 1.938 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7942, allocations: 3.938 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7943, allocations: 0 / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.7945, allocations: 44.45 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.7949, allocations: 283 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.7952, allocations: 59 kB / 0.9525 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.7953, allocations: 24.19 kB / 0.9525 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.7955, allocations: 169.3 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7956, allocations: 35.69 kB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7956, allocations: 0 / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004091/0.796, allocations: 93.95 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.796, allocations: 52.62 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.7961, allocations: 115.6 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.7961, allocations: 25.7 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.7962, allocations: 98.06 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.7962, allocations: 4.781 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.7962, allocations: 17.28 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.7963, allocations: 320.1 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.7964, allocations: 19.05 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.7965, allocations: 19.2 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.7967, allocations: 46.88 kB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7967, allocations: 4 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002074/0.7969, allocations: 77.84 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7969, allocations: 6.312 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7969, allocations: 3.984 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7969, allocations: 48 / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.797, allocations: 11.55 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.797, allocations: 8.797 kB / 0.9536 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.7971, allocations: 8.562 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.7971, allocations: 0 / 0.9536 GB, free: 5.512 MB / 0.7169 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 6.825e-05/0.7972, allocations: 117 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.7972, allocations: 9.516 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.7975, allocations: 91.2 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7975, allocations: 4.844 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7975, allocations: 1.625 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7975, allocations: 0 / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.7977, allocations: 165.5 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7977, allocations: 0 / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.7977, allocations: 10.55 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7977, allocations: 1.406 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.7978, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7978, allocations: 1.344 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.7978, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.798, allocations: 180.1 kB / 0.9542 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.798, allocations: 82.3 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.7981, allocations: 0 / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.7982, allocations: 15.64 kB / 0.9542 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.7982, allocations: 6.562 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.7982, allocations: 1.812 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.7983, allocations: 93.64 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7983, allocations: 0 / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002418/0.7985, allocations: 17.38 kB / 0.9544 GB, free: 4.73 MB / 0.7169 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.0001783/0.7987, allocations: 111.5 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.799, allocations: 45.2 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.799, allocations: 0 / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.7991, allocations: 35.53 kB / 0.9545 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.7994, allocations: 5.438 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.7997, allocations: 118.5 kB / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.7998, allocations: 0.6834 MB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.7998, allocations: 10.88 kB / 0.9553 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.7999, allocations: 14.08 kB / 0.9554 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7999, allocations: 0 / 0.9554 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.003265/0.8031, allocations: 0.9744 MB / 0.9563 GB, free: 3.262 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches