Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 177.3 kB / 316 MB, free: 3.465 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.049/1.049, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007783/0.0007783, allocations: 96.25 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.392e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.5224, allocations: 132.6 MB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.5227, allocations: 69.7 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003621/0.5263, allocations: 1.024 MB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5263, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 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.0004121/0.5267, allocations: 357.5 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5268, allocations: 8.031 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.5268, allocations: 11.91 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.527, allocations: 167.9 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.527, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.527, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.792e-05/0.5271, allocations: 18.5 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.921e-05/0.5272, allocations: 48.98 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5272, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5272, allocations: 3.906 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.5273, allocations: 0 / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.5276, allocations: 259.7 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.5278, allocations: 41.75 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.5278, allocations: 15.98 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.5282, allocations: 404.9 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.5282, allocations: 38.55 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.5282, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001644/0.5284, allocations: 60.92 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.5284, allocations: 51.41 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.5285, allocations: 96.92 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.5285, allocations: 25.7 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.5285, allocations: 80.14 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.5286, allocations: 7.906 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5286, allocations: 4 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.5287, allocations: 318.6 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.5287, allocations: 4 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.5287, allocations: 7.5 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.5288, allocations: 7.438 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5288, allocations: 3.906 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.881e-05/0.5289, allocations: 52.62 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5289, allocations: 4 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.5289, allocations: 0 / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5289, allocations: 4 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.529, allocations: 19.92 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.529, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.5291, allocations: 11.98 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5291, allocations: 3.906 kB / 1.017 GB, free: 2.762 MB / 0.6355 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,bin.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.5292, allocations: 105 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.5292, allocations: 7.938 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.5293, allocations: 56.48 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5293, allocations: 11.88 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5293, allocations: 0 / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5293, allocations: 4 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.5295, allocations: 144.8 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5295, allocations: 0 / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.409e-05/0.5296, allocations: 19.98 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5296, allocations: 0 / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.5296, allocations: 0 / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5296, allocations: 3.938 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5296, allocations: 4.25 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000125/0.5297, allocations: 145.4 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.5298, allocations: 89.02 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.5298, allocations: 4 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.5299, allocations: 7.984 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.5299, allocations: 7.984 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.53, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.912e-05/0.53, allocations: 82.41 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00023/0.5302, allocations: 23.94 kB / 1.018 GB, free: 2 MB / 0.6355 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 (bin.y,bin.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.5304, allocations: 130.8 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.5305, allocations: 23.23 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.5305, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.5305, allocations: 11.81 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.5306, allocations: 3.906 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.5309, allocations: 74.64 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.5311, allocations: 0.6915 MB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.5311, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of Templates: time 0.002495/0.5336, allocations: 0.9076 MB / 1.02 GB, free: 144 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Binomial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches