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.0009103/0.0009103, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001003/0.001003, allocations: 161 kB / 24.17 MB, free: 332 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 1.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.997/1.997, 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 2.394e-06/2.394e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.389e-05, allocations: 6.422 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001433/0.001467, allocations: 0.6658 MB / 0.7608 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.001788, allocations: 101 kB / 0.7609 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.001809, allocations: 0 / 0.7609 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.001846, allocations: 4.734 kB / 0.7609 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.001853, allocations: 0 / 0.7609 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.002166, allocations: 41.89 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.002283, allocations: 63.92 kB / 0.761 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.00232, allocations: 0 / 0.761 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.002374, allocations: 36.61 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.002408, allocations: 19.95 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.002422, allocations: 4.656 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.002554, allocations: 56.69 kB / 0.7611 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.002589, allocations: 25.81 kB / 0.7611 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.00261, allocations: 21.27 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.00274, allocations: 82.17 kB / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.002744, allocations: 0.875 kB / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002745, allocations: 0 / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.002748, allocations: 2.188 kB / 0.7612 GB, free: 5.488 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.0003324/0.003081, allocations: 277.5 kB / 0.7615 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.003112, allocations: 8.031 kB / 0.7615 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.003155, allocations: 20.92 kB / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.109e-05/0.003216, allocations: 101.8 kB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.00345, allocations: 0.526 MB / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.003459, allocations: 6.719 kB / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.003598, allocations: 87.77 kB / 0.7622 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003604, allocations: 192 / 0.7622 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.003612, allocations: 5.562 kB / 0.7622 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.003618, allocations: 8.125 kB / 0.7622 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.003713, allocations: 76.5 kB / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.475e-05/0.003808, allocations: 82.34 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.003877, allocations: 54.53 kB / 0.7624 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.003904, allocations: 20.86 kB / 0.7624 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.00392, allocations: 1.562 kB / 0.7624 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.003939, allocations: 34.56 kB / 0.7625 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 8.42e-07/0.00394, allocations: 6.906 kB / 0.7625 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001339/0.004074, allocations: 79.95 kB / 0.7625 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.004138, allocations: 55.41 kB / 0.7626 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.894e-05/0.004167, allocations: 89.86 kB / 0.7627 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.004177, allocations: 25.7 kB / 0.7627 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.004196, allocations: 80.14 kB / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.004235, allocations: 40.88 kB / 0.7628 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.004268, allocations: 25.7 kB / 0.7629 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.004351, allocations: 325.5 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.004371, allocations: 12 kB / 0.7632 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.00439, allocations: 12.86 kB / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.384e-05/0.004444, allocations: 40.91 kB / 0.7632 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004446, allocations: 0 / 0.7632 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.675e-05/0.004523, allocations: 67.25 kB / 0.7633 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.004536, allocations: 8.688 kB / 0.7633 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.004542, allocations: 3.984 kB / 0.7633 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.004555, allocations: 1.156 kB / 0.7633 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.004656, allocations: 23.98 kB / 0.7633 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.004658, allocations: 0.6562 kB / 0.7633 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.004689, allocations: 16.69 kB / 0.7633 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.004701, allocations: 16.44 kB / 0.7634 GB, free: 3.023 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 6.156e-05/0.004763, allocations: 112 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.004775, allocations: 11.98 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.004797, allocations: 7.969 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004799, allocations: 4.984 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.004801, allocations: 0 / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004804, allocations: 0 / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.007e-05/0.004874, allocations: 93.7 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004874, allocations: 0 / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.004929, allocations: 27.97 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.004931, allocations: 3.094 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.004937, allocations: 0 / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004937, allocations: 0.6562 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004938, allocations: 0 / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.948e-05/0.005038, allocations: 106.4 kB / 0.7637 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.005045, allocations: 4 kB / 0.7637 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.005054, allocations: 3.938 kB / 0.7637 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.005079, allocations: 8 kB / 0.7637 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.005117, allocations: 13.78 kB / 0.7637 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.005122, allocations: 3.984 kB / 0.7637 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.621e-06/0.005128, allocations: 4.859 kB / 0.7637 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005128, allocations: 0 / 0.7637 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001313/0.005259, allocations: 20 kB / 0.7638 GB, free: 2.562 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.000124/0.005383, allocations: 102.8 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.015e-05/0.005463, allocations: 48.77 kB / 0.7639 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.005466, allocations: 4 kB / 0.7639 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.005498, allocations: 36.7 kB / 0.7639 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.645e-05/0.005555, allocations: 22.95 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.005741, allocations: 131.6 kB / 0.7641 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.005772, allocations: 63.34 kB / 0.7642 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.005814, allocations: 14.84 kB / 0.7642 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.005862, allocations: 59.36 kB / 0.7642 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.005862, allocations: 0.6562 kB / 0.7642 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of Templates: time 0.00246/0.008323, allocations: 1.224 MB / 0.7654 GB, free: 0.8828 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 -s gbode -gbm=radauIIA3 -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.169773213099688]