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.0009693/0.0009693, 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.0009927/0.0009927, 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 0.9675/0.9675, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.372/2.372, allocations: 438.8 MB / 0.6827 GB, free: 13.65 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.723e-06/1.723e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.702e-05, allocations: 7.016 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002778/0.002805, allocations: 1.598 MB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004806/0.003286, allocations: 191.2 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.003327, allocations: 0 / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.003356, allocations: 3.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.003407, allocations: 3.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.003793, allocations: 55.81 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.003878, allocations: 35.89 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.003966, allocations: 12 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.004012, allocations: 15.98 kB / 0.8405 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.004062, allocations: 23.91 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.004081, allocations: 4 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.004227, allocations: 51.92 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.004242, allocations: 4 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.004262, allocations: 11.94 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004414, allocations: 71.77 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004417, allocations: 4 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004418, allocations: 0 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004422, allocations: 0 / 0.8406 GB, free: 12.16 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.000367/0.004789, allocations: 252.8 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.004827, allocations: 12.62 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.004859, allocations: 4.938 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.731e-05/0.004946, allocations: 113.8 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.004967, allocations: 8.375 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.004979, allocations: 384 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.005133, allocations: 66.88 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.00514, allocations: 4.188 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.005148, allocations: 4.375 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005155, allocations: 384 / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.005189, allocations: 15.92 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.00547, allocations: 164.2 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.005662, allocations: 34.5 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.005686, allocations: 8.859 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.005852, allocations: 23.97 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.005874, allocations: 30.56 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005875, allocations: 4 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001259/0.006001, allocations: 49.62 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.006032, allocations: 59.33 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.006087, allocations: 106.8 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.006099, allocations: 25.7 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.006135, allocations: 92.06 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.006148, allocations: 3.953 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.00618, allocations: 25.64 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.006254, allocations: 310.8 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.006264, allocations: 7.984 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.006275, allocations: 8 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.006302, allocations: 13.12 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006304, allocations: 4 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.32e-05/0.006357, allocations: 45.61 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006368, allocations: 4 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006373, allocations: 3.938 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.006386, allocations: 4 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.39e-05/0.00643, allocations: 4 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.006432, allocations: 0 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.006453, allocations: 7.984 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.006456, allocations: 4 kB / 0.8421 GB, free: 10.5 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.395e-05/0.00651, allocations: 113.8 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.006527, allocations: 4 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.006598, allocations: 53.25 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.006599, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006601, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006604, allocations: 4 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.932e-05/0.006683, allocations: 66.14 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006684, allocations: 3.938 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.006711, allocations: 16 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006713, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006718, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006719, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006721, allocations: 3.938 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.841e-05/0.006789, allocations: 135.5 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-06/0.006795, allocations: 4 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-06/0.006802, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.006831, allocations: 4 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.006865, allocations: 11.92 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006867, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.196e-05/0.006879, allocations: 20.83 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006879, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001401/0.00702, allocations: 23.88 kB / 0.8425 GB, free: 9.988 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.0001296/0.007149, allocations: 96.34 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.613e-05/0.007205, allocations: 20.84 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.007208, allocations: 0 / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.621e-05/0.007224, allocations: 8.859 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.007379, allocations: 6.391 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.007634, allocations: 132.5 kB / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.007672, allocations: 55.36 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.007696, allocations: 4 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.007749, allocations: 63.38 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.007749, allocations: 0 / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of Templates: time 0.002548/0.0103, allocations: 1.033 MB / 0.8439 GB, free: 8.523 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 -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.382797202095389]