Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001519/0.001519, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001484/0.001484, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.466/2.466, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.428e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002293/0.002317, allocations: 1.635 MB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.002679, allocations: 183.2 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.002714, allocations: 0 / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.00274, allocations: 3.938 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.002787, allocations: 11.86 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.003063, allocations: 55.81 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.134e-05/0.003124, allocations: 35.91 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.003191, allocations: 8 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.003231, allocations: 19.98 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.428e-05/0.003265, allocations: 23.89 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.003279, allocations: 4 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.0034, allocations: 51.94 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.003413, allocations: 11.98 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.003429, allocations: 7.938 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.003548, allocations: 71.77 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00355, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.12e-07/0.00355, allocations: 4 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003555, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 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.0002742/0.003829, allocations: 256.8 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.003862, allocations: 8.625 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.003888, allocations: 4.938 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.003967, allocations: 109.8 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.003983, allocations: 4.375 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.003991, allocations: 4.375 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.004097, allocations: 66.94 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.004104, allocations: 4.188 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004111, allocations: 384 / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004116, allocations: 384 / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.004144, allocations: 23.84 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.004369, allocations: 172.2 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.004495, allocations: 30.56 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.004511, allocations: 8.859 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.004635, allocations: 27.91 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.004655, allocations: 34.56 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.004656, allocations: 4 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001065/0.004763, allocations: 45.62 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.004784, allocations: 51.41 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.004837, allocations: 110.8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.004846, allocations: 25.7 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.004878, allocations: 84.14 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.004892, allocations: 7.938 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.004918, allocations: 21.7 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.004997, allocations: 318.8 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.005007, allocations: 3.938 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.005018, allocations: 8 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.005045, allocations: 16.84 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005047, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.921e-05/0.005096, allocations: 41.69 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005109, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005114, allocations: 3.938 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.005125, allocations: 0 / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.005172, allocations: 11.98 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005175, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.005193, allocations: 3.938 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.005198, allocations: 8 kB / 0.8422 GB, free: 10.34 MB / 0.8073 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 5.557e-05/0.005254, allocations: 113.8 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.005269, allocations: 4 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.005342, allocations: 53.27 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005344, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005345, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.005348, allocations: 3.984 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.402e-05/0.005432, allocations: 65.91 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005433, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.00546, allocations: 12.23 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.005461, allocations: 4 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.005467, allocations: 4 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005468, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.00547, allocations: 3.938 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.838e-05/0.005539, allocations: 143.8 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.005545, allocations: 7.969 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-06/0.005552, allocations: 4 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.005584, allocations: 0 / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.005618, allocations: 15.92 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.005621, allocations: 0 / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.142e-05/0.005632, allocations: 12.86 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005632, allocations: 0 / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001347/0.005767, allocations: 19.88 kB / 0.8426 GB, free: 9.832 MB / 0.8073 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.0001071/0.005874, allocations: 100.4 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.459e-05/0.005929, allocations: 16.8 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.005932, allocations: 4 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.005951, allocations: 12.84 kB / 0.8427 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.006065, allocations: 4 kB / 0.8427 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.006265, allocations: 124.6 kB / 0.8429 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.0063, allocations: 59.34 kB / 0.8429 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.804e-05/0.006318, allocations: 0 / 0.8429 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.006368, allocations: 63.39 kB / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of SimCode: time 6.12e-07/0.006368, allocations: 0 / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of Templates: time 0.002475/0.008843, allocations: 1.04 MB / 0.844 GB, free: 8.363 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.50954472925514]