Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001135/0.001135, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001302/0.001302, allocations: 168.7 kB / 15.95 MB, free: 204 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.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.864/2.864, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 13.02 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3335, allocations: 159.6 MB / 1.058 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0008251/0.3344, allocations: 318.8 kB / 1.058 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.3349, allocations: 99.77 kB / 1.058 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.3349, allocations: 0 / 1.058 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.335, allocations: 0 / 1.058 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-06/0.335, allocations: 0 / 1.058 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.3353, allocations: 35.89 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3355, allocations: 55.94 kB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.3355, allocations: 0 / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.3356, allocations: 27.97 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.3357, allocations: 19.97 kB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3357, allocations: 0 / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3358, allocations: 43.95 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.3359, allocations: 27.91 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.3359, allocations: 29.7 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.3361, allocations: 47.88 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3361, allocations: 4 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3361, allocations: 0 / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3361, allocations: 0 / 1.059 GB, free: 4.672 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005165/0.3366, allocations: 355.3 kB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3367, allocations: 12.02 kB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.3367, allocations: 12 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.3368, allocations: 163.3 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.3371, allocations: 280.9 kB / 1.059 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3372, allocations: 8 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3374, allocations: 81.62 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3374, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3375, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3375, allocations: 0 / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.3378, allocations: 127.8 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.338, allocations: 185.5 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.3383, allocations: 98.45 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3385, allocations: 48.72 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.3385, allocations: 11.98 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3385, allocations: 30.56 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3385, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005395/0.3391, allocations: 146.2 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3391, allocations: 55.41 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.3392, allocations: 89.86 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3392, allocations: 25.7 kB / 1.06 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.3392, allocations: 88.27 kB / 1.06 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.3393, allocations: 35.45 kB / 1.06 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.3393, allocations: 4 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3394, allocations: 314.8 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3396, allocations: 31.97 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3397, allocations: 36.02 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3398, allocations: 31.98 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3399, allocations: 0 / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000313/0.3402, allocations: 117.6 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3402, allocations: 13.67 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3402, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3402, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3404, allocations: 23.92 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3404, allocations: 4 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.3405, allocations: 15.83 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3405, allocations: 0 / 1.061 GB, free: 1.992 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.3406, allocations: 113.8 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3406, allocations: 11.98 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.3407, allocations: 15.92 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3407, allocations: 0 / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3407, allocations: 4 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3407, allocations: 0 / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3408, allocations: 177.6 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3408, allocations: 0 / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.341, allocations: 27.97 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.341, allocations: 0 / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.341, allocations: 7.938 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.341, allocations: 3.953 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.341, allocations: 8 kB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.3413, allocations: 137 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.3414, allocations: 81.02 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3414, allocations: 4 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.095e-05/0.3415, allocations: 4 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.3415, allocations: 15.92 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3416, allocations: 11.94 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.3416, allocations: 79.28 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3416, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002239/0.3418, allocations: 23.98 kB / 1.062 GB, free: 1.184 MB / 0.8106 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 (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.0002169/0.3421, allocations: 131.1 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.3424, allocations: 83.88 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3424, allocations: 0 / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3425, allocations: 47.91 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3427, allocations: 8 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.3431, allocations: 167.6 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3434, allocations: 0.6809 MB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.3436, allocations: 43.81 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.3436, allocations: 15.42 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3436, allocations: 7.938 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.003518/0.3472, allocations: 0.9351 MB / 1.064 GB, free: 15.01 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches