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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001665/0.001665, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001843/0.001843, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.16 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2641, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00209/0.2662, allocations: 0.5817 MB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003933/0.2667, allocations: 115.6 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.2667, allocations: 4 kB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.2667, allocations: 0 / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.2668, allocations: 0 / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.2671, allocations: 31.91 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2672, allocations: 63.92 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.2673, allocations: 4 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.2673, allocations: 31.91 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.2674, allocations: 31.95 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2674, allocations: 4 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2675, allocations: 35.97 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2676, allocations: 23.97 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.2676, allocations: 23.91 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.2678, allocations: 75.72 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2678, allocations: 0 / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2678, allocations: 0 / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.2678, allocations: 0 / 0.9521 GB, free: 7.004 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.0004944/0.2683, allocations: 372.7 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2683, allocations: 12.03 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.2684, allocations: 12.94 kB / 0.9525 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.2685, allocations: 164.3 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.2687, allocations: 281.6 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2688, allocations: 4.375 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.269, allocations: 82.19 kB / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.269, allocations: 3.938 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.269, allocations: 3.984 kB / 0.953 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2691, allocations: 4 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.2694, allocations: 139.8 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.2696, allocations: 181.5 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.2699, allocations: 90.52 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.27, allocations: 44.84 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2701, allocations: 7.969 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2701, allocations: 30.56 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 3.477e-06/0.2701, allocations: 4 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005209/0.2706, allocations: 153.7 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2707, allocations: 55.39 kB / 0.9537 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.603e-05/0.2707, allocations: 93.86 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2707, allocations: 25.7 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.2708, allocations: 84.14 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.2708, allocations: 31.47 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.2709, allocations: 33.69 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.271, allocations: 314.8 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2711, allocations: 35.97 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2713, allocations: 31.97 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.2715, allocations: 77.36 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2715, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000313/0.2718, allocations: 117.6 kB / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2719, allocations: 7.938 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.2719, allocations: 0 / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.2719, allocations: 0 / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2721, allocations: 27.98 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2721, allocations: 0 / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.2722, allocations: 15.83 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2722, allocations: 4 kB / 0.9546 GB, free: 4.223 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 8.119e-05/0.2723, allocations: 121.8 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.2723, allocations: 3.938 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.2723, allocations: 11.97 kB / 0.9547 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2723, allocations: 4 kB / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2724, allocations: 4 kB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2724, allocations: 0 / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2725, allocations: 181.5 kB / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2725, allocations: 0 / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.2726, allocations: 23.97 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2726, allocations: 3.938 kB / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2727, allocations: 8 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2727, allocations: 0 / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2727, allocations: 4 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.273, allocations: 147 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.2731, allocations: 81.11 kB / 0.9551 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2731, allocations: 7.938 kB / 0.9551 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.2731, allocations: 4 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.2732, allocations: 11.97 kB / 0.9551 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2732, allocations: 4 kB / 0.9551 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.2733, allocations: 79.28 kB / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2733, allocations: 0 / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002274/0.2735, allocations: 20 kB / 0.9552 GB, free: 3.418 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.0001815/0.2737, allocations: 127.1 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.274, allocations: 91.81 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.274, allocations: 0 / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2742, allocations: 51.89 kB / 0.9555 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.2743, allocations: 10.03 kB / 0.9555 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.2747, allocations: 160.9 kB / 0.9557 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.2749, allocations: 0.6883 MB / 0.9563 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.2751, allocations: 35.95 kB / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.2751, allocations: 15.44 kB / 0.9564 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.2751, allocations: 0 / 0.9564 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of Templates: time 0.003379/0.2785, allocations: 1.012 MB / 0.9574 GB, free: 1.176 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 -s gbode -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