Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001377/0.001377, allocations: 79.05 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001519/0.001519, allocations: 161.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.654/2.654, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.386e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002848/0.002871, allocations: 1.561 MB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005044/0.003376, allocations: 179.4 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.003417, allocations: 0 / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.003447, allocations: 7.938 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.003489, allocations: 7.875 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.003845, allocations: 51.81 kB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.238e-05/0.003928, allocations: 35.92 kB / 0.9528 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004033, allocations: 11.98 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.004082, allocations: 23.91 kB / 0.9528 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.004128, allocations: 15.98 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.004144, allocations: 0 / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.004283, allocations: 55.88 kB / 0.9529 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.004297, allocations: 7.984 kB / 0.9529 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.004324, allocations: 11.94 kB / 0.9529 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.004496, allocations: 75.81 kB / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004498, allocations: 0 / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004499, allocations: 0 / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004502, allocations: 7.938 kB / 0.953 GB, free: 9.504 MB / 0.8575 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.0005173/0.00502, allocations: 278.2 kB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.005053, allocations: 12.03 kB / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.005085, allocations: 4.891 kB / 0.9532 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.005209, allocations: 117.7 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.005228, allocations: 384 / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.005247, allocations: 8.375 kB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.00545, allocations: 58.23 kB / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.00546, allocations: 192 / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.005469, allocations: 4.375 kB / 0.9534 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.005475, allocations: 4.375 kB / 0.9534 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.005681, allocations: 47.89 kB / 0.9535 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.006062, allocations: 216.5 kB / 0.9537 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.006397, allocations: 58.59 kB / 0.9537 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.006501, allocations: 20.84 kB / 0.9538 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.006652, allocations: 15.98 kB / 0.9538 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.006688, allocations: 42.48 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.006689, allocations: 0 / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004226/0.007112, allocations: 93.58 kB / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.007148, allocations: 51.41 kB / 0.954 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.007241, allocations: 109.8 kB / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.007259, allocations: 25.7 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.007315, allocations: 100.1 kB / 0.9542 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.007339, allocations: 3.953 kB / 0.9542 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.007381, allocations: 17.7 kB / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.007524, allocations: 314.8 kB / 0.9545 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.007627, allocations: 23.97 kB / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.007715, allocations: 15.98 kB / 0.9545 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.007907, allocations: 53.02 kB / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007909, allocations: 0 / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002369/0.008146, allocations: 81.59 kB / 0.9547 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.008159, allocations: 4 kB / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.008162, allocations: 0 / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.008183, allocations: 4.25 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.008269, allocations: 11.98 kB / 0.9547 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.008275, allocations: 4 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.008338, allocations: 11.94 kB / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.008344, allocations: 0 / 0.9547 GB, free: 7.551 MB / 0.8575 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 8.684e-05/0.00843, allocations: 117.8 kB / 0.9548 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.00846, allocations: 3.938 kB / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.008742, allocations: 85.27 kB / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008744, allocations: 0 / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.008747, allocations: 3.938 kB / 0.9549 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.00875, allocations: 0 / 0.9549 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.008901, allocations: 117.2 kB / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.008901, allocations: 0 / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.00898, allocations: 15.98 kB / 0.955 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008982, allocations: 0 / 0.955 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.008992, allocations: 3.938 kB / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008995, allocations: 3.984 kB / 0.955 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008996, allocations: 0 / 0.955 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.009292, allocations: 168.1 kB / 0.9552 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.009301, allocations: 7.953 kB / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.009319, allocations: 7.875 kB / 0.9552 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.009411, allocations: 11.98 kB / 0.9552 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.009468, allocations: 11.98 kB / 0.9552 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.009473, allocations: 0 / 0.9552 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.009524, allocations: 79.28 kB / 0.9553 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009524, allocations: 0 / 0.9553 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002601/0.009784, allocations: 20 kB / 0.9553 GB, free: 6.84 MB / 0.8575 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.0001868/0.009971, allocations: 111.2 kB / 0.9554 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.01022, allocations: 51.94 kB / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01023, allocations: 4 kB / 0.9555 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01034, allocations: 23.92 kB / 0.9555 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.01059, allocations: 4 kB / 0.9555 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.01089, allocations: 128.7 kB / 0.9556 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.01096, allocations: 67.34 kB / 0.9557 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.01099, allocations: 8.188 kB / 0.9557 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.01103, allocations: 12.5 kB / 0.9557 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.01103, allocations: 0 / 0.9557 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of Templates: time 0.004081/0.01511, allocations: 1.003 MB / 0.9567 GB, free: 5.387 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.686180606484413]