Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009786/0.0009786, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009352/0.0009352, allocations: 173 kB / 23.36 MB, free: 1.133 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.9083/0.9083, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.449/2.449, allocations: 438.8 MB / 0.6826 GB, free: 13.56 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.[0-9,]+.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.959e-05, allocations: 12.78 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001181/0.001201, allocations: 0.6071 MB / 0.8392 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.001501, allocations: 95.69 kB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.001518, allocations: 0 / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.001553, allocations: 7.938 kB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.361e-06/0.001559, allocations: 0 / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.001874, allocations: 43.81 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.001979, allocations: 71.84 kB / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.002013, allocations: 4 kB / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.002058, allocations: 31.97 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.00209, allocations: 23.95 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.002106, allocations: 4 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.002212, allocations: 47.94 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.002246, allocations: 19.97 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.002268, allocations: 15.97 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.002393, allocations: 91.75 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.002394, allocations: 0 / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002395, allocations: 0 / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002398, allocations: 0 / 0.8397 GB, free: 13.08 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003103/0.002709, allocations: 276.8 kB / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.002741, allocations: 8.625 kB / 0.8399 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.002777, allocations: 20.92 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.393e-05/0.002831, allocations: 105.7 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.003058, allocations: 0.5299 MB / 0.8406 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.003074, allocations: 12.36 kB / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.003215, allocations: 86.78 kB / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.003223, allocations: 4.188 kB / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.003232, allocations: 4.375 kB / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.00324, allocations: 4.125 kB / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.00333, allocations: 87.77 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.977e-05/0.00343, allocations: 75.8 kB / 0.8408 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.003496, allocations: 54.55 kB / 0.8409 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.00352, allocations: 16.86 kB / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.003535, allocations: 4 kB / 0.8409 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.003555, allocations: 38.56 kB / 0.8409 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 7.01e-07/0.003556, allocations: 0 / 0.8409 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001301/0.003686, allocations: 85.86 kB / 0.841 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.003711, allocations: 51.41 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.663e-05/0.003738, allocations: 89.86 kB / 0.8412 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.003749, allocations: 29.7 kB / 0.8412 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.003767, allocations: 84.14 kB / 0.8413 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.003804, allocations: 35.67 kB / 0.8413 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.003833, allocations: 21.7 kB / 0.8413 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.003908, allocations: 330.8 kB / 0.8416 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.003928, allocations: 15.98 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.003945, allocations: 11.98 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.003997, allocations: 35.66 kB / 0.8417 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.003999, allocations: 3.938 kB / 0.8417 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.863e-05/0.004068, allocations: 66.27 kB / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.004077, allocations: 4 kB / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004081, allocations: 0 / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.004092, allocations: 0 / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.004179, allocations: 23.97 kB / 0.8418 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.004183, allocations: 4 kB / 0.8418 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.004211, allocations: 15.95 kB / 0.8418 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.00422, allocations: 7.922 kB / 0.8418 GB, free: 10.59 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: 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 5.813e-05/0.004278, allocations: 120.6 kB / 0.8419 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.004286, allocations: 4 kB / 0.8419 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.004304, allocations: 11.97 kB / 0.8419 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.004306, allocations: 0 / 0.8419 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.004308, allocations: 0 / 0.8419 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.004311, allocations: 3.984 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.347e-05/0.004375, allocations: 81.78 kB / 0.842 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004376, allocations: 0 / 0.842 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.004425, allocations: 27.97 kB / 0.8421 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.004427, allocations: 4 kB / 0.8421 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.004433, allocations: 0 / 0.8421 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004433, allocations: 0 / 0.8421 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.004435, allocations: 3.984 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.529e-05/0.004531, allocations: 112.9 kB / 0.8422 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-06/0.004536, allocations: 3.953 kB / 0.8422 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.004545, allocations: 4 kB / 0.8422 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.00457, allocations: 15.98 kB / 0.8422 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.004601, allocations: 3.984 kB / 0.8422 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.004608, allocations: 11.98 kB / 0.8422 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.871e-06/0.004614, allocations: 4.859 kB / 0.8422 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004614, allocations: 0 / 0.8422 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000131/0.004745, allocations: 20 kB / 0.8422 GB, free: 10.11 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: 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.0001195/0.004864, allocations: 100.3 kB / 0.8423 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.004951, allocations: 56.69 kB / 0.8424 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.004953, allocations: 0 / 0.8424 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.004983, allocations: 28.84 kB / 0.8424 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.253e-05/0.005035, allocations: 27.86 kB / 0.8424 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.005227, allocations: 127.6 kB / 0.8426 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.005256, allocations: 59.95 kB / 0.8426 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.005295, allocations: 16 kB / 0.8426 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.005341, allocations: 63.36 kB / 0.8427 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.005342, allocations: 0 / 0.8427 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.002457/0.007798, allocations: 1.224 MB / 0.8439 GB, free: 8.359 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.409853499382734]