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.00119/0.00119, 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.00117/0.00117, 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.202/1.202, 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.006/2.006, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 70.97 kB / 0.814 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2424, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001631/0.2441, allocations: 0.5932 MB / 0.9517 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.2444, allocations: 107.6 kB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.2444, allocations: 0 / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.2445, allocations: 0 / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-06/0.2445, allocations: 0 / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2448, allocations: 35.91 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2449, allocations: 67.92 kB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.245, allocations: 11.98 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.102e-05/0.245, allocations: 23.92 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.2451, allocations: 23.95 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2451, allocations: 4 kB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2452, allocations: 43.97 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.2453, allocations: 23.91 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.2453, allocations: 19.91 kB / 0.9521 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.2454, allocations: 71.84 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2454, allocations: 3.938 kB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2454, allocations: 4 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2455, allocations: 0 / 0.9521 GB, free: 7.047 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.000455/0.2459, allocations: 372.3 kB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2459, allocations: 12.03 kB / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.246, allocations: 4.938 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.2461, allocations: 168.3 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.2463, allocations: 285.6 kB / 0.9529 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2463, allocations: 384 / 0.9529 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.2466, allocations: 82.19 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2466, allocations: 3.938 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2466, allocations: 8 kB / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2466, allocations: 0 / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.2469, allocations: 131.8 kB / 0.9531 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.2471, allocations: 177.5 kB / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.2473, allocations: 98.45 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2475, allocations: 44.83 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.2475, allocations: 7.984 kB / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2475, allocations: 34.56 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.2475, allocations: 0 / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.000451/0.248, allocations: 149.8 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.248, allocations: 59.34 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.371e-05/0.2481, allocations: 89.86 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2481, allocations: 25.7 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.2481, allocations: 84.14 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.2482, allocations: 39.45 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.2482, allocations: 25.7 kB / 0.9539 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.2483, allocations: 318.8 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2484, allocations: 27.97 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.2486, allocations: 31.97 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.2488, allocations: 77.41 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2488, allocations: 0 / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002739/0.2491, allocations: 121.5 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2491, allocations: 9.812 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2491, allocations: 4 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2491, allocations: 0 / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2493, allocations: 23.92 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2493, allocations: 0 / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.2493, allocations: 19.83 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2494, allocations: 4 kB / 0.9546 GB, free: 4.273 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 7.506e-05/0.2494, allocations: 121.8 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.2495, allocations: 7.938 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.2495, allocations: 7.969 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2495, allocations: 3.938 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2495, allocations: 0 / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2495, allocations: 0 / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.2496, allocations: 181.5 kB / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2497, allocations: 0 / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.2498, allocations: 31.97 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2498, allocations: 7.938 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2498, allocations: 4 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2498, allocations: 0 / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2498, allocations: 0 / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.2501, allocations: 147.1 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.2501, allocations: 85.05 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2502, allocations: 3.938 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.2502, allocations: 7.984 kB / 0.9551 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.2503, allocations: 11.98 kB / 0.9551 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2503, allocations: 8 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.152e-05/0.2503, allocations: 75.28 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2503, allocations: 0 / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002056/0.2505, allocations: 27.98 kB / 0.9553 GB, free: 3.457 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.0001695/0.2507, allocations: 115.2 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.251, allocations: 95.8 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.251, allocations: 0 / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.2512, allocations: 47.97 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.2513, allocations: 4 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.2516, allocations: 156.9 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2519, allocations: 0.6922 MB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.252, allocations: 39.95 kB / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.252, allocations: 19.42 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.252, allocations: 0 / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of Templates: time 0.002946/0.255, allocations: 1 MB / 0.9574 GB, free: 1.234 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 cvode -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