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.0009692/0.0009692, 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.00175/0.00175, 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.9299/0.9299, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.856/1.856, allocations: 377.8 MB / 0.6236 GB, free: 8.59 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.593e-06/1.593e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.737e-05, allocations: 5.75 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001229/0.001256, allocations: 0.6133 MB / 0.8122 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.001568, allocations: 104.3 kB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.001588, allocations: 0.5625 kB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.001629, allocations: 0 / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.001635, allocations: 1.062 kB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.00198, allocations: 39.83 kB / 0.8123 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.002102, allocations: 67.91 kB / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.294e-05/0.002135, allocations: 4.688 kB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.002182, allocations: 34.38 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.587e-05/0.002218, allocations: 23.91 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.002237, allocations: 4 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.00236, allocations: 51.92 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.002392, allocations: 19.97 kB / 0.8125 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.002417, allocations: 15.97 kB / 0.8125 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.002555, allocations: 91.69 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002557, allocations: 1.594 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002558, allocations: 0 / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002562, allocations: 0 / 0.8126 GB, free: 0.6641 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.0003769/0.002938, allocations: 396.2 kB / 0.813 GB, free: 244 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.002975, allocations: 12.56 kB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.00303, allocations: 22.59 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.567e-05/0.003085, allocations: 108.6 kB / 0.8131 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.003345, allocations: 0.526 MB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.003363, allocations: 8.375 kB / 0.8137 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.003536, allocations: 88 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.003544, allocations: 4.125 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003554, allocations: 4.375 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.003564, allocations: 9.109 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.00368, allocations: 99.83 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.003807, allocations: 137.5 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.003903, allocations: 71.03 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.003944, allocations: 32.67 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.003965, allocations: 0 / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.003989, allocations: 41.33 kB / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 6.51e-07/0.00399, allocations: 1.344 kB / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002083/0.004198, allocations: 105.9 kB / 0.8142 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.004232, allocations: 55.91 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.181e-05/0.004273, allocations: 146.2 kB / 0.8144 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.004285, allocations: 31.64 kB / 0.8144 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.004313, allocations: 126.9 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.004352, allocations: 35.69 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.004389, allocations: 35.36 kB / 0.8146 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.0045, allocations: 0.4884 MB / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.004533, allocations: 17.67 kB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.004562, allocations: 20.42 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.315e-05/0.004635, allocations: 51.7 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.004637, allocations: 0 / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001049/0.004742, allocations: 86.56 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.004753, allocations: 4 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.00476, allocations: 4.531 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.004774, allocations: 0.5625 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.004875, allocations: 23.92 kB / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.004881, allocations: 4.469 kB / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.004911, allocations: 13.12 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.004921, allocations: 4 kB / 0.8153 GB, free: 13.57 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 6.775e-05/0.004989, allocations: 161.4 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.005, allocations: 8 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.005024, allocations: 8.812 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005025, allocations: 0 / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.005029, allocations: 0 / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.005034, allocations: 9.203 kB / 0.8155 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.005117, allocations: 136.5 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.005119, allocations: 7.938 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.005173, allocations: 24.81 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005175, allocations: 0 / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.005184, allocations: 9.125 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.005187, allocations: 3.938 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005187, allocations: 0 / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.005307, allocations: 125.7 kB / 0.8158 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.005314, allocations: 7.953 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.005323, allocations: 0 / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.693e-05/0.00535, allocations: 11.98 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.005394, allocations: 9.422 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.005401, allocations: 7.984 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.797e-05/0.005429, allocations: 123.1 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005429, allocations: 0 / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001548/0.005584, allocations: 26.84 kB / 0.816 GB, free: 12.85 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.0001369/0.00572, allocations: 123.1 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.005844, allocations: 63.64 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005845, allocations: 0 / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.005893, allocations: 43.61 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.005997, allocations: 17.77 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.006236, allocations: 142.2 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.006269, allocations: 63.34 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.494e-05/0.006334, allocations: 35.77 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.00637, allocations: 24.48 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.00637, allocations: 1.344 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.002478/0.008848, allocations: 1.02 MB / 0.8175 GB, free: 11.29 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.15879763988778]