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.009688/0.009688, allocations: 106 kB / 15.73 MB, free: 6 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.002176/0.002176, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.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.592/2.592, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 1.054 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8238, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001723/0.8255, allocations: 0.5858 MB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.8259, allocations: 113.4 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.826, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.826, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.826, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.8264, allocations: 39.89 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.8265, allocations: 67.92 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.8266, allocations: 4 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.8266, allocations: 23.92 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.8267, allocations: 27.95 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.8267, allocations: 4 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.8268, allocations: 47.95 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.8269, allocations: 19.97 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.8269, allocations: 15.92 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.8271, allocations: 75.77 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.8271, allocations: 0 / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8271, allocations: 4 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8271, allocations: 0 / 1.209 GB, free: 12.55 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.000504/0.8276, allocations: 367.6 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8276, allocations: 16.02 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.8277, allocations: 8.844 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.8278, allocations: 168.1 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.8281, allocations: 281.6 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.8281, allocations: 8.359 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.8284, allocations: 78.19 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8284, allocations: 7.938 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.8285, allocations: 4 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8285, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.8288, allocations: 131.8 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.8291, allocations: 181.6 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.8294, allocations: 98.45 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.8296, allocations: 44.83 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.8296, allocations: 4 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.8297, allocations: 38.56 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.8297, allocations: 0 / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005826/0.8303, allocations: 153.7 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.8303, allocations: 63.34 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.8304, allocations: 89.86 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.8304, allocations: 25.7 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.8304, allocations: 80.14 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.8305, allocations: 37.38 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.8305, allocations: 29.7 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8307, allocations: 314.8 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.8308, allocations: 31.97 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.831, allocations: 32.41 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.8313, allocations: 76.97 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8313, allocations: 0 / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003594/0.8317, allocations: 125.4 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.8317, allocations: 7.938 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8317, allocations: 4 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.8317, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.8319, allocations: 23.97 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.8319, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.8319, allocations: 4 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.832, allocations: 7.984 kB / 1.211 GB, free: 9.777 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 7.93e-05/0.832, allocations: 113.8 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.8321, allocations: 15.84 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.8321, allocations: 11.97 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8321, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.8321, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8322, allocations: 3.984 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.8323, allocations: 185.5 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8323, allocations: 0 / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.8324, allocations: 23.98 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.8325, allocations: 7.938 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8325, allocations: 7.984 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8325, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8325, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.8328, allocations: 133 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.8329, allocations: 89 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.8329, allocations: 7.938 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.833, allocations: 4 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.833, allocations: 11.92 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.8331, allocations: 11.98 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.428e-05/0.8331, allocations: 79.28 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8331, allocations: 0 / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002422/0.8333, allocations: 16 kB / 1.212 GB, free: 8.961 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.0001984/0.8336, allocations: 119.2 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.8339, allocations: 91.75 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8339, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.8342, allocations: 43.97 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.8343, allocations: 12 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.8348, allocations: 160.9 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.8351, allocations: 0.6846 MB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.8353, allocations: 43.89 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.8353, allocations: 15.42 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8353, allocations: 0 / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of Templates: time 0.003409/0.8387, allocations: 1.035 MB / 1.214 GB, free: 6.703 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