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.001349/0.001349, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001229/0.00123, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.378/1.378, allocations: 222.9 MB / 241 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.611/2.611, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 68.09 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9074/0.909, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001745/0.9108, allocations: 0.5853 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.9112, allocations: 107.6 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.9112, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.9113, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-06/0.9113, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.9117, allocations: 43.91 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.9118, allocations: 63.92 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.9119, allocations: 0 / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.9119, allocations: 23.92 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.912, allocations: 27.95 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.912, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.9121, allocations: 47.95 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.9122, allocations: 19.97 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.9122, allocations: 31.84 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.9124, allocations: 67.78 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9124, allocations: 4 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9124, allocations: 0 / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.9124, allocations: 4 kB / 1.209 GB, free: 12.58 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.0005104/0.9129, allocations: 371.5 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.913, allocations: 8.031 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.913, allocations: 8.844 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.9131, allocations: 172.1 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.9134, allocations: 285.6 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.9134, allocations: 4.375 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.9137, allocations: 86.14 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9137, allocations: 3.938 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.9137, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9137, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.9141, allocations: 135.8 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.9143, allocations: 185.5 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.9146, allocations: 90.53 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.9147, allocations: 44.83 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.9147, allocations: 4 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.9148, allocations: 38.56 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.9148, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005477/0.9153, allocations: 149.7 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.9154, allocations: 59.34 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.296e-05/0.9154, allocations: 89.86 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.9155, allocations: 29.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.9155, allocations: 84.14 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.9156, allocations: 33.38 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.9156, allocations: 25.7 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.9157, allocations: 322.8 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.9159, allocations: 31.97 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.916, allocations: 27.98 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.9163, allocations: 72.81 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9163, allocations: 0 / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003837/0.9167, allocations: 122.1 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.9167, allocations: 11.94 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9168, allocations: 3.984 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9168, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.9169, allocations: 19.98 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.917, allocations: 7.938 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.917, allocations: 8 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.9171, allocations: 3.984 kB / 1.212 GB, free: 9.812 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 8.779e-05/0.9171, allocations: 117.8 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.9172, allocations: 15.84 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.9172, allocations: 19.89 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.9172, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.9172, allocations: 4 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9172, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.9174, allocations: 177.6 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9174, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.9176, allocations: 23.98 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.9176, allocations: 7.922 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.9177, allocations: 4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9177, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9177, allocations: 4 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.9181, allocations: 149 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.9182, allocations: 81.02 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.9182, allocations: 3.938 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.9183, allocations: 8 kB / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.9183, allocations: 15.97 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.9184, allocations: 4 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.9184, allocations: 75.28 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9184, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002384/0.9186, allocations: 24 kB / 1.213 GB, free: 8.988 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.0002046/0.9189, allocations: 115.2 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.9192, allocations: 87.81 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9192, allocations: 0 / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.9194, allocations: 55.95 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.9196, allocations: 2.031 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.92, allocations: 190.5 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.9204, allocations: 0.6846 MB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.9204, allocations: 19.42 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9204, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of Templates: time 0.003184/0.9236, allocations: 1.323 MB / 1.215 GB, free: 6.453 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/jenkins1/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