Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.0011/0.0011, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.324/2.324, allocations: 390.2 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.2 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3089, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002726/0.3117, allocations: 0.6512 MB / 0.9504 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004952/0.3122, allocations: 109.8 kB / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.3123, allocations: 0 / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.3124, allocations: 0 / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.397e-06/0.3124, allocations: 0 / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.3129, allocations: 35.91 kB / 0.9505 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3131, allocations: 71.92 kB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.3131, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.3132, allocations: 27.92 kB / 0.9506 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.3132, allocations: 23.95 kB / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3133, allocations: 4 kB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3134, allocations: 43.91 kB / 0.9507 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.3135, allocations: 27.95 kB / 0.9507 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.3135, allocations: 19.92 kB / 0.9508 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3136, allocations: 47.86 kB / 0.9508 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3137, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3137, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3137, allocations: 4 kB / 0.9508 GB, free: 8.172 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005761/0.3143, allocations: 371.5 kB / 0.9512 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3143, allocations: 12.03 kB / 0.9512 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.3144, allocations: 8.922 kB / 0.9512 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3145, allocations: 172.5 kB / 0.9513 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.3148, allocations: 281.6 kB / 0.9516 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3148, allocations: 4.375 kB / 0.9516 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.3151, allocations: 78.19 kB / 0.9517 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3151, allocations: 11.94 kB / 0.9517 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3151, allocations: 0 / 0.9517 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3152, allocations: 0 / 0.9517 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.3155, allocations: 135.8 kB / 0.9518 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.3157, allocations: 173.6 kB / 0.952 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.316, allocations: 102.5 kB / 0.9521 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.3162, allocations: 40.83 kB / 0.9521 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3162, allocations: 7.984 kB / 0.9521 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3163, allocations: 38.56 kB / 0.9522 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.3163, allocations: 0 / 0.9522 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005589/0.3168, allocations: 149.8 kB / 0.9523 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3169, allocations: 55.41 kB / 0.9524 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.3169, allocations: 89.86 kB / 0.9525 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.317, allocations: 29.7 kB / 0.9525 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.317, allocations: 80.14 kB / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.3171, allocations: 39.45 kB / 0.9526 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.3171, allocations: 25.7 kB / 0.9526 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3172, allocations: 318.8 kB / 0.9529 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3174, allocations: 27.97 kB / 0.953 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3175, allocations: 35.97 kB / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.3178, allocations: 72.81 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3178, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003266/0.3182, allocations: 118.2 kB / 0.9532 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3182, allocations: 11.94 kB / 0.9532 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3182, allocations: 0 / 0.9532 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3182, allocations: 3.938 kB / 0.9532 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3184, allocations: 23.97 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3184, allocations: 0 / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.3185, allocations: 15.84 kB / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.3185, allocations: 4 kB / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.157e-05/0.3186, allocations: 117.8 kB / 0.9533 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.3186, allocations: 15.94 kB / 0.9534 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.3187, allocations: 7.969 kB / 0.9534 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3187, allocations: 0 / 0.9534 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3187, allocations: 0 / 0.9534 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3187, allocations: 4 kB / 0.9534 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3188, allocations: 189.5 kB / 0.9536 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3188, allocations: 0 / 0.9536 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.319, allocations: 23.98 kB / 0.9536 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.319, allocations: 3.938 kB / 0.9536 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.319, allocations: 3.984 kB / 0.9536 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.319, allocations: 4 kB / 0.9536 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.319, allocations: 0 / 0.9536 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.3194, allocations: 145.1 kB / 0.9537 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.3194, allocations: 77.11 kB / 0.9538 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3194, allocations: 7.922 kB / 0.9538 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.3195, allocations: 8 kB / 0.9538 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.3196, allocations: 11.92 kB / 0.9538 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3196, allocations: 7.984 kB / 0.9538 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.3196, allocations: 79.28 kB / 0.9539 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 0.9539 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002319/0.3199, allocations: 24 kB / 0.9539 GB, free: 4.582 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002004/0.3201, allocations: 123.1 kB / 0.954 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.3204, allocations: 95.88 kB / 0.9541 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3204, allocations: 0 / 0.9541 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.3206, allocations: 43.97 kB / 0.9542 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3208, allocations: 15.94 kB / 0.9542 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.3212, allocations: 190.6 kB / 0.9544 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3214, allocations: 0.6883 MB / 0.9551 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.3215, allocations: 23.41 kB / 0.9551 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.3215, allocations: 0 / 0.9551 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of Templates: time 0.00301/0.3245, allocations: 1.315 MB / 0.9564 GB, free: 2.027 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches