Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001104/0.001104, 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.001054/0.001054, allocations: 161 kB / 24.16 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.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.944/1.944, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.106e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002018/0.002029, allocations: 1.655 MB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.002347, allocations: 186.5 kB / 0.7618 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.002376, allocations: 0 / 0.7618 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.0024, allocations: 7.922 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.002439, allocations: 4.812 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.002681, allocations: 53.98 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.002742, allocations: 32.8 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.002808, allocations: 15.97 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.00285, allocations: 22.7 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.002888, allocations: 13.62 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.0029, allocations: 4 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.003014, allocations: 52.47 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.003028, allocations: 13.28 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.003042, allocations: 10.58 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003157, allocations: 66.58 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003158, allocations: 4.5 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003159, allocations: 0.9844 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.003162, allocations: 0.6875 kB / 0.7621 GB, free: 4.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000403/0.003565, allocations: 254.6 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.003591, allocations: 8.031 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.003614, allocations: 4.938 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.003684, allocations: 106.5 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.003699, allocations: 4.375 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.003706, allocations: 7.031 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.472e-05/0.003801, allocations: 66.92 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003807, allocations: 192 / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.003812, allocations: 384 / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003817, allocations: 1.594 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.541e-05/0.003842, allocations: 15.88 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.004033, allocations: 164.2 kB / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.004148, allocations: 31.39 kB / 0.7628 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.004163, allocations: 14.38 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.004267, allocations: 23.97 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.004286, allocations: 39.16 kB / 0.7628 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004287, allocations: 1.906 kB / 0.7628 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.26e-05/0.00438, allocations: 41.77 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.004402, allocations: 59.41 kB / 0.7629 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.374e-05/0.004446, allocations: 107.8 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.004454, allocations: 25.7 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.004482, allocations: 92.91 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.004493, allocations: 3.953 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.004518, allocations: 23.3 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.004583, allocations: 318.8 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.004591, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.004603, allocations: 17.92 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.004625, allocations: 16.8 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.004626, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.18e-05/0.004668, allocations: 37.94 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.004678, allocations: 8 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004683, allocations: 10.67 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.004696, allocations: 0 / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.99e-05/0.004736, allocations: 12 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.004738, allocations: 0 / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.004754, allocations: 0 / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.004758, allocations: 3.984 kB / 0.7636 GB, free: 2.84 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.695e-05/0.004805, allocations: 113.8 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.004819, allocations: 1.688 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.004881, allocations: 57.3 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.004882, allocations: 0 / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.004884, allocations: 0 / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004886, allocations: 0.9375 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.783e-05/0.004964, allocations: 73.89 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004965, allocations: 0.875 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.004988, allocations: 7.984 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00499, allocations: 4.812 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.004995, allocations: 4 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004996, allocations: 0 / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.004997, allocations: 5.969 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.215e-05/0.00506, allocations: 139.5 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-06/0.005064, allocations: 0 / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.005072, allocations: 4 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.08e-05/0.005102, allocations: 0 / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.005135, allocations: 16.58 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005138, allocations: 0 / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.538e-06/0.005147, allocations: 9.516 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005147, allocations: 0.5 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001379/0.005285, allocations: 19.92 kB / 0.764 GB, free: 2.348 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001158/0.005401, allocations: 107.5 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.601e-05/0.005457, allocations: 21.02 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.005459, allocations: 4 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.005478, allocations: 12.94 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.00559, allocations: 4 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.005779, allocations: 126.9 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.005808, allocations: 55.36 kB / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.005828, allocations: 4.188 kB / 0.7644 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.005868, allocations: 63.36 kB / 0.7644 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.005869, allocations: 1.188 kB / 0.7644 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of Templates: time 0.002282/0.008151, allocations: 1.04 MB / 0.7654 GB, free: 0.9102 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_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.060202065855265]