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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005297/0.005297, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001288/0.001288, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.91 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.892/0.8932, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001727/0.895, allocations: 0.5821 MB / 1.208 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.8954, allocations: 109.5 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.8954, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.8955, allocations: 3.938 kB / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-06/0.8955, allocations: 0 / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.8959, allocations: 43.89 kB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.896, allocations: 63.88 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.8961, allocations: 7.984 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.8961, allocations: 27.98 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.8962, allocations: 23.95 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.8962, allocations: 4 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.8964, allocations: 39.97 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.8964, allocations: 23.95 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.8964, allocations: 23.86 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.8966, allocations: 67.83 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.8966, allocations: 8 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8966, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8966, allocations: 3.938 kB / 1.209 GB, free: 12.61 MB / 0.9356 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.0005595/0.8972, allocations: 371.5 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.8973, allocations: 8.031 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.8973, allocations: 12.84 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.8975, allocations: 172.2 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003026/0.8978, allocations: 281.5 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.8978, allocations: 8.375 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.898, allocations: 74.2 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.8981, allocations: 7.922 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.8981, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.8981, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.8985, allocations: 135.7 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.8987, allocations: 177.7 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.899, allocations: 98.45 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.8991, allocations: 36.84 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.8992, allocations: 7.984 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.8992, allocations: 38.56 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.8992, allocations: 0 / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005646/0.8998, allocations: 157.7 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8998, allocations: 51.41 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.8999, allocations: 89.86 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.8999, allocations: 25.7 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.8999, allocations: 84.08 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.9, allocations: 37.38 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.9001, allocations: 37.69 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9002, allocations: 310.8 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.9003, allocations: 35.97 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.9004, allocations: 31.97 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.9007, allocations: 72.81 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9007, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003258/0.901, allocations: 117.5 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9011, allocations: 9.969 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9011, allocations: 4 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9011, allocations: 0 / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.9013, allocations: 27.92 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9013, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.9013, allocations: 7.984 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.9014, allocations: 4 kB / 1.211 GB, free: 9.84 MB / 0.9356 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.055e-05/0.9015, allocations: 117.8 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.9015, allocations: 15.78 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.9015, allocations: 7.969 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9015, allocations: 8 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9015, allocations: 0 / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9016, allocations: 0 / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.9017, allocations: 173.6 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9017, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.9018, allocations: 31.91 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9018, allocations: 3.938 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.9018, allocations: 4 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9019, allocations: 4 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9019, allocations: 7.938 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.9022, allocations: 137.8 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.9023, allocations: 81.02 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.9023, allocations: 11.94 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.9023, allocations: 3.984 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.9024, allocations: 15.98 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.9024, allocations: 0 / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.9025, allocations: 79.28 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9025, allocations: 4 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000222/0.9027, allocations: 20 kB / 1.212 GB, free: 9.023 MB / 0.9356 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.0002057/0.9029, allocations: 119.1 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.9033, allocations: 91.97 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9033, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.9034, allocations: 47.91 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.9036, allocations: 4 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.904, allocations: 168.9 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.9043, allocations: 0.6807 MB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.9044, allocations: 39.95 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.9045, allocations: 19.44 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of SimCode: time 1.613e-06/0.9045, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.003306/0.9078, allocations: 1.035 MB / 1.214 GB, free: 6.766 MB / 0.9356 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