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.0009508/0.0009508, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001667/0.001667, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9811/0.9811, allocations: 177.1 MB / 204.6 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.543e-06/1.543e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.525e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001665/0.00169, allocations: 0.6268 MB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003664/0.002057, allocations: 91.67 kB / 0.7608 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.002078, allocations: 4 kB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.002119, allocations: 0 / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-06/0.002127, allocations: 0.7188 kB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.002513, allocations: 44.36 kB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.002643, allocations: 65.78 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.002682, allocations: 4 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.002745, allocations: 36.55 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.002789, allocations: 25.61 kB / 0.7609 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.002808, allocations: 4 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.002947, allocations: 51.94 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.002988, allocations: 21.72 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.003014, allocations: 10.5 kB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.003172, allocations: 89.77 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003175, allocations: 0 / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003175, allocations: 0 / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.00318, allocations: 0.6562 kB / 0.7611 GB, free: 5.559 MB / 0.7136 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.000393/0.003573, allocations: 277.7 kB / 0.7614 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.00361, allocations: 9.156 kB / 0.7614 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.003652, allocations: 20.92 kB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.208e-05/0.003724, allocations: 105.7 kB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/0.004036, allocations: 0.5316 MB / 0.762 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.004053, allocations: 384 / 0.762 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.004233, allocations: 80.81 kB / 0.7621 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004242, allocations: 192 / 0.7621 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.004255, allocations: 8.375 kB / 0.7621 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.004266, allocations: 5.375 kB / 0.7621 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.004398, allocations: 80.59 kB / 0.7622 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.004527, allocations: 81.09 kB / 0.7623 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.004621, allocations: 55.42 kB / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.004666, allocations: 25.72 kB / 0.7623 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.004685, allocations: 4.531 kB / 0.7623 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.00471, allocations: 31.69 kB / 0.7624 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.004711, allocations: 0 / 0.7624 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001837/0.004895, allocations: 87.34 kB / 0.7625 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.004929, allocations: 53.42 kB / 0.7625 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.451e-05/0.004964, allocations: 89.86 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.00498, allocations: 26.92 kB / 0.7626 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.005002, allocations: 80.14 kB / 0.7627 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.005051, allocations: 39.69 kB / 0.7627 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.005096, allocations: 26.28 kB / 0.7628 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.005193, allocations: 322.8 kB / 0.7631 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.005223, allocations: 13.94 kB / 0.7631 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.005248, allocations: 8.75 kB / 0.7631 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.005325, allocations: 44.89 kB / 0.7631 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005328, allocations: 1.875 kB / 0.7631 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001118/0.005439, allocations: 71.58 kB / 0.7632 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005452, allocations: 4 kB / 0.7632 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.005459, allocations: 4 kB / 0.7632 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.005473, allocations: 1.344 kB / 0.7632 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.005597, allocations: 23.97 kB / 0.7632 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.005601, allocations: 0 / 0.7632 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.005643, allocations: 8.656 kB / 0.7632 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.005657, allocations: 12.55 kB / 0.7633 GB, free: 3.102 MB / 0.7136 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 7.389e-05/0.005731, allocations: 114 kB / 0.7634 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.005747, allocations: 4 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.005773, allocations: 11.97 kB / 0.7634 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005775, allocations: 7.25 kB / 0.7634 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.005779, allocations: 8.469 kB / 0.7634 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005782, allocations: 0 / 0.7634 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.00588, allocations: 93.7 kB / 0.7635 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.005882, allocations: 0 / 0.7635 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.005967, allocations: 24.62 kB / 0.7635 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.00597, allocations: 4 kB / 0.7635 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.005978, allocations: 0 / 0.7635 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.00598, allocations: 0 / 0.7635 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.005982, allocations: 7.016 kB / 0.7635 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.006115, allocations: 99.33 kB / 0.7636 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.006122, allocations: 3.938 kB / 0.7636 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.006135, allocations: 4 kB / 0.7636 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.006171, allocations: 0 / 0.7636 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.006218, allocations: 15.97 kB / 0.7636 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.006228, allocations: 7.984 kB / 0.7636 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.056e-06/0.006236, allocations: 10.16 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.006237, allocations: 1.5 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002127/0.006449, allocations: 20 kB / 0.7637 GB, free: 2.633 MB / 0.7136 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.0001671/0.006616, allocations: 97 kB / 0.7638 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.006737, allocations: 58.34 kB / 0.7638 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.00674, allocations: 0 / 0.7638 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.006786, allocations: 28.84 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.226e-05/0.006859, allocations: 24.55 kB / 0.7639 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.007114, allocations: 136.2 kB / 0.764 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.007156, allocations: 67.28 kB / 0.7641 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.941e-05/0.007215, allocations: 10.94 kB / 0.7641 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.007282, allocations: 63.36 kB / 0.7641 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.007283, allocations: 1.625 kB / 0.7641 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of Templates: time 0.004227/0.01151, allocations: 1.209 MB / 0.7653 GB, free: 0.9648 MB / 0.7136 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: 4.99846257083118]