Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.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.213/1.213, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.0009141/0.000914, allocations: 188.4 kB / 316 MB, free: 3.562 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.059/1.059, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0008414/0.0008416, allocations: 88.47 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.955e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1597, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5955, allocations: 131.6 MB / 1.013 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.5957, allocations: 82.59 kB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003301/0.599, allocations: 0.9241 MB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5991, allocations: 0 / 1.014 GB, free: 6.285 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003495/0.5994, allocations: 356.9 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5995, allocations: 12.03 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.5995, allocations: 4 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.5996, allocations: 163 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.5998, allocations: 277 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.5998, allocations: 4 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001836/0.6, allocations: 117.3 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.6001, allocations: 72.14 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.6002, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6002, allocations: 5.062 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6002, allocations: 3.938 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.6003, allocations: 153.1 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.6005, allocations: 75.25 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.6005, allocations: 31.47 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.6006, allocations: 4 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.6006, allocations: 33.94 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.6006, allocations: 4 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003218/0.6009, allocations: 100.1 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.601, allocations: 55.73 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.155e-05/0.601, allocations: 88.62 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.601, allocations: 25.7 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.6011, allocations: 84.27 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.6011, allocations: 31.41 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.6011, allocations: 0 / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.6012, allocations: 314.8 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.6013, allocations: 30.73 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.6013, allocations: 19.5 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.6015, allocations: 31.66 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6015, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002507/0.6017, allocations: 103.5 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.6017, allocations: 4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6017, allocations: 3.906 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.6018, allocations: 0 / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.6019, allocations: 23.97 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.6019, allocations: 8.562 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.602, allocations: 12 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.602, allocations: 0 / 1.016 GB, free: 3.926 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: 1 (n) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.6021, allocations: 112.9 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.6021, allocations: 0 / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.6021, allocations: 7.656 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6021, allocations: 4 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6022, allocations: 0 / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6022, allocations: 3.906 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.6023, allocations: 156.9 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.6023, allocations: 0 / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.6024, allocations: 23.92 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6024, allocations: 4 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.6024, allocations: 3.984 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6024, allocations: 3.906 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6024, allocations: 0 / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002571/0.6027, allocations: 126.5 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.6027, allocations: 93.03 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.6028, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.6028, allocations: 4 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.6029, allocations: 19.08 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6029, allocations: 4 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.145e-05/0.6029, allocations: 75.28 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001997/0.6031, allocations: 23.91 kB / 1.017 GB, free: 3.219 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: 1 (n) * Number of discrete 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 (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.0001745/0.6033, allocations: 127.1 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.6034, allocations: 65.16 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.6034, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.6035, allocations: 47.8 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.159e-05/0.6036, allocations: 0 / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.6038, allocations: 105.4 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.6041, allocations: 0.7028 MB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.6041, allocations: 3.938 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of Templates: time 0.00301/0.6071, allocations: 1.252 MB / 1.019 GB, free: 0.9023 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches