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.001086/0.001086, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001086/0.001086, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.177/1.177, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.167/2.167, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.28 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2385, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001525/0.2401, allocations: 0.5977 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003067/0.2404, allocations: 106.1 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.2404, allocations: 0 / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.2405, allocations: 4 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.028e-06/0.2405, allocations: 0 / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.2408, allocations: 39.89 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2409, allocations: 63.92 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.2409, allocations: 7.984 kB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.241, allocations: 19.98 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.241, allocations: 23.97 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.241, allocations: 4 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.2411, allocations: 47.95 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.2412, allocations: 27.84 kB / 1.028 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.2412, allocations: 19.91 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.2413, allocations: 71.84 kB / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2413, allocations: 0 / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2413, allocations: 0 / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2414, allocations: 0 / 1.028 GB, free: 0.9727 MB / 0.795 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.0004144/0.2418, allocations: 371.5 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2418, allocations: 8.031 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2419, allocations: 12.88 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.2419, allocations: 164.3 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.2422, allocations: 281.6 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.2422, allocations: 12.42 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2424, allocations: 78.09 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2424, allocations: 7.922 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2424, allocations: 7.938 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2424, allocations: 4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.2428, allocations: 127.8 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.2429, allocations: 177.6 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.2432, allocations: 98.52 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.2433, allocations: 40.84 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.2433, allocations: 7.969 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2434, allocations: 30.56 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.2434, allocations: 3.938 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004417/0.2438, allocations: 161.7 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2439, allocations: 51.41 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.23e-05/0.2439, allocations: 93.86 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2439, allocations: 29.7 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.2439, allocations: 80.14 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.244, allocations: 31.47 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.244, allocations: 33.69 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.2441, allocations: 310.8 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.2442, allocations: 35.97 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2444, allocations: 31.97 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.2446, allocations: 84.69 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2446, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002793/0.2449, allocations: 109.6 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2449, allocations: 7.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2449, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2449, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2451, allocations: 19.98 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2451, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.2451, allocations: 19.83 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2452, allocations: 8 kB / 1.03 GB, free: 14.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.2452, allocations: 121.8 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.2452, allocations: 3.938 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.2453, allocations: 15.97 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2453, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2453, allocations: 7.875 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2453, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2454, allocations: 181.5 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2454, allocations: 0 / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2455, allocations: 23.97 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2456, allocations: 7.938 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2456, allocations: 8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2456, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2456, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.2459, allocations: 137.8 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.2459, allocations: 85.02 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.2459, allocations: 7.938 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.246, allocations: 11.98 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.2461, allocations: 11.92 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2461, allocations: 8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.2461, allocations: 75.28 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2461, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001993/0.2463, allocations: 20 kB / 1.031 GB, free: 13.38 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 (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.0001644/0.2465, allocations: 119.2 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.2468, allocations: 95.97 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2468, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2469, allocations: 52.06 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.2471, allocations: 8 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.2474, allocations: 156.9 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2476, allocations: 0.6854 MB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.2477, allocations: 43.81 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.2478, allocations: 11.44 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2478, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.00265/0.2504, allocations: 1.021 MB / 1.033 GB, free: 11.14 MB / 0.8106 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 -s cvode -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