Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005832/0.005833, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.077/3.077, allocations: 470.6 MB / 0.7442 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.0005636, allocations: 14.97 kB / 0.9123 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.398, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002006/0.4001, allocations: 1.26 MB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005295/0.4006, allocations: 179.5 kB / 1.071 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.4007, allocations: 0 / 1.071 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.4007, allocations: 3.984 kB / 1.071 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.4007, allocations: 0 / 1.071 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.4011, allocations: 43.89 kB / 1.071 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.4011, allocations: 31.92 kB / 1.071 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.4012, allocations: 15.98 kB / 1.071 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.4013, allocations: 15.92 kB / 1.071 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.4013, allocations: 11.92 kB / 1.071 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.4014, allocations: 4 kB / 1.071 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.4015, allocations: 43.95 kB / 1.071 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.4015, allocations: 3.984 kB / 1.071 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.4015, allocations: 41.58 kB / 1.071 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.4017, allocations: 59.84 kB / 1.072 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4017, allocations: 4 kB / 1.072 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4017, allocations: 0 / 1.072 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4017, allocations: 0 / 1.072 GB, free: 9.637 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005133/0.4022, allocations: 355.7 kB / 1.072 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4023, allocations: 8.031 kB / 1.072 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.4023, allocations: 4.938 kB / 1.072 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4025, allocations: 164.4 kB / 1.072 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.4025, allocations: 4.375 kB / 1.072 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.4025, allocations: 8.25 kB / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4027, allocations: 78.16 kB / 1.072 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4027, allocations: 192 / 1.072 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4028, allocations: 3.938 kB / 1.072 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4028, allocations: 0 / 1.072 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.403, allocations: 59.95 kB / 1.072 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.4034, allocations: 284.6 kB / 1.072 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.4038, allocations: 70.53 kB / 1.073 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4039, allocations: 28.91 kB / 1.073 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.4041, allocations: 170.2 kB / 1.073 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.4042, allocations: 30.56 kB / 1.073 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4042, allocations: 0 / 1.073 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004402/0.4046, allocations: 117.7 kB / 1.073 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4047, allocations: 55.39 kB / 1.073 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4048, allocations: 105.9 kB / 1.073 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.4048, allocations: 29.7 kB / 1.073 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.4049, allocations: 88.12 kB / 1.073 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.4049, allocations: 3.906 kB / 1.073 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4049, allocations: 17.72 kB / 1.073 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4051, allocations: 314.8 kB / 1.073 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4052, allocations: 27.97 kB / 1.073 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/0.4053, allocations: 31.97 kB / 1.074 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.4055, allocations: 52.81 kB / 1.074 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4055, allocations: 0 / 1.074 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002388/0.4058, allocations: 89.59 kB / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4058, allocations: 8 kB / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4058, allocations: 0 / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4058, allocations: 0 / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.4059, allocations: 15.98 kB / 1.074 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4059, allocations: 0 / 1.074 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.406, allocations: 11.98 kB / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.406, allocations: 8 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.859e-05/0.4061, allocations: 113.8 kB / 1.074 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.4062, allocations: 3.906 kB / 1.074 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.4065, allocations: 105.4 kB / 1.074 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4065, allocations: 7.984 kB / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4065, allocations: 0 / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4065, allocations: 0 / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.4067, allocations: 165.6 kB / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4067, allocations: 0 / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.4068, allocations: 15.98 kB / 1.074 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4068, allocations: 0 / 1.074 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4068, allocations: 4 kB / 1.074 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4068, allocations: 3.938 kB / 1.074 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4068, allocations: 0 / 1.074 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.4071, allocations: 187.4 kB / 1.074 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.4072, allocations: 85.02 kB / 1.074 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4072, allocations: 0 / 1.074 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.4073, allocations: 4 kB / 1.074 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4074, allocations: 15.92 kB / 1.074 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.4074, allocations: 0 / 1.074 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.4074, allocations: 87.27 kB / 1.074 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4074, allocations: 4 kB / 1.074 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002532/0.4077, allocations: 16 kB / 1.074 GB, free: 6.266 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001925/0.4079, allocations: 119.3 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.4081, allocations: 60.19 kB / 1.075 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4082, allocations: 0 / 1.075 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.4083, allocations: 31.97 kB / 1.075 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.4086, allocations: 12.06 kB / 1.075 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.4089, allocations: 141.1 kB / 1.075 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.4093, allocations: 0.6848 MB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.4093, allocations: 0 / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.4094, allocations: 11.44 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4094, allocations: 0 / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of Templates: time 0.003826/0.4132, allocations: 0.8828 MB / 1.076 GB, free: 4.277 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches