Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009886/0.0009886, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9969/0.9969, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.799/1.799, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.601e-05, allocations: 5.875 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001072/0.001088, allocations: 0.6058 MB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.001346, allocations: 97.2 kB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.001362, allocations: 0 / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.001398, allocations: 0 / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.177e-05/0.00141, allocations: 7.938 kB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.001694, allocations: 40.38 kB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.001797, allocations: 69.45 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.889e-05/0.001826, allocations: 0 / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.00187, allocations: 35.95 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.001906, allocations: 27.89 kB / 0.8125 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.001922, allocations: 0.875 kB / 0.8125 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.002028, allocations: 51.94 kB / 0.8125 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.002055, allocations: 16.77 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.002079, allocations: 19.97 kB / 0.8125 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.002223, allocations: 91.73 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.002226, allocations: 0.5938 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.21e-07/0.002226, allocations: 0.6875 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.002231, allocations: 0 / 0.8126 GB, free: 0.6484 MB / 0.7605 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.0004403/0.002671, allocations: 400.9 kB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.002711, allocations: 8.031 kB / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.00276, allocations: 22.23 kB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.471e-05/0.002824, allocations: 108.6 kB / 0.8131 GB, free: 60 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.003059, allocations: 0.5312 MB / 0.8137 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.00307, allocations: 4.375 kB / 0.8137 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.003226, allocations: 82.91 kB / 0.8137 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003233, allocations: 5.875 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.003243, allocations: 4.375 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.003251, allocations: 4.125 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.003358, allocations: 103.8 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.003466, allocations: 128.6 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.003554, allocations: 75.91 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.003591, allocations: 31.67 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.003608, allocations: 4.594 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.003625, allocations: 33.92 kB / 0.8141 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.003626, allocations: 0.5625 kB / 0.8141 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000185/0.003811, allocations: 114.5 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.003835, allocations: 51.41 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.463e-05/0.00387, allocations: 151.4 kB / 0.8144 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.003881, allocations: 29.7 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.003908, allocations: 130.9 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.003945, allocations: 31.7 kB / 0.8146 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.003983, allocations: 37.92 kB / 0.8146 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.004088, allocations: 0.4884 MB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.00412, allocations: 19.98 kB / 0.8151 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.004143, allocations: 8.438 kB / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.004211, allocations: 55.77 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004213, allocations: 0 / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000106/0.004319, allocations: 90.12 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.004329, allocations: 4.719 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.004333, allocations: 0 / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.004345, allocations: 4.531 kB / 0.8153 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.004438, allocations: 21.61 kB / 0.8153 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.004445, allocations: 7.922 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.004474, allocations: 11.94 kB / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.004483, allocations: 4 kB / 0.8153 GB, free: 13.56 MB / 0.7761 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 5.819e-05/0.004542, allocations: 157.4 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.004553, allocations: 11.94 kB / 0.8155 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.004574, allocations: 16.89 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.004575, allocations: 0 / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.004578, allocations: 1.219 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.004582, allocations: 3.938 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.034e-05/0.004652, allocations: 132.5 kB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.004655, allocations: 8.766 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.004709, allocations: 23.98 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.00471, allocations: 2.219 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.004718, allocations: 4 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.004721, allocations: 7.984 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.004722, allocations: 0 / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.004839, allocations: 128.3 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-06/0.004846, allocations: 11.94 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.004855, allocations: 2.969 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.004881, allocations: 8 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.004921, allocations: 15.95 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.004927, allocations: 4 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.004952, allocations: 123.1 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004952, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000142/0.005094, allocations: 23.94 kB / 0.816 GB, free: 12.83 MB / 0.7761 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.0001381/0.005232, allocations: 120.6 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.00535, allocations: 67.58 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.005351, allocations: 0.625 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.005392, allocations: 43.66 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.598e-05/0.005488, allocations: 13.03 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.005701, allocations: 143.5 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.941e-05/0.00573, allocations: 63.34 kB / 0.8164 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.184e-05/0.005792, allocations: 36.05 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.005826, allocations: 25.14 kB / 0.8165 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.005827, allocations: 0 / 0.8165 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.002516/0.008343, allocations: 1.213 MB / 0.8177 GB, free: 11.08 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.037422999273986]