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.001752/0.001752, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002281/0.002281, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 64.62 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.0032/0.3514, allocations: 1.56 MB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005881/0.352, allocations: 171.5 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.3521, allocations: 0 / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.3521, allocations: 7.875 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.3521, allocations: 3.938 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.3525, allocations: 55.88 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3527, allocations: 39.86 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3528, allocations: 7.984 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.3528, allocations: 15.92 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.3529, allocations: 19.92 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3529, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.353, allocations: 51.94 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.353, allocations: 11.98 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.3531, allocations: 11.94 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.3532, allocations: 67.72 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3532, allocations: 0 / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3532, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3532, allocations: 3.938 kB / 1.328 GB, free: 15.78 MB / 1.029 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.0005174/0.3538, allocations: 282.2 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3538, allocations: 8.031 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.3538, allocations: 16.89 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.354, allocations: 106.5 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.354, allocations: 8.375 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.354, allocations: 384 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3542, allocations: 66.22 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3542, allocations: 192 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3543, allocations: 3.938 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.3543, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.3545, allocations: 55.88 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.3549, allocations: 212.5 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.3553, allocations: 58.48 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3554, allocations: 36.81 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.3556, allocations: 11.98 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3556, allocations: 34.56 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3556, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004114/0.356, allocations: 97.62 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.356, allocations: 51.41 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/0.3561, allocations: 97.86 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3561, allocations: 29.7 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.3562, allocations: 96.02 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3562, allocations: 3.953 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.3563, allocations: 17.72 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3564, allocations: 318.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.3565, allocations: 27.92 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.3566, allocations: 15.98 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.3568, allocations: 48.75 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3568, allocations: 3.938 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000221/0.357, allocations: 73.66 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.357, allocations: 7.984 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.357, allocations: 4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.357, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.3571, allocations: 11.98 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3571, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.3572, allocations: 11.94 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3572, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 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 9.436e-05/0.3573, allocations: 114.3 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.3573, allocations: 11.94 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3576, allocations: 85.33 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3576, allocations: 0 / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3576, allocations: 0 / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3576, allocations: 4.25 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.3577, allocations: 109.2 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3577, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.3578, allocations: 11.98 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3578, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3578, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3578, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3578, allocations: 7.938 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.3581, allocations: 167.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.3581, allocations: 7.938 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3581, allocations: 8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.3582, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.3583, allocations: 8.016 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.3583, allocations: 7.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.3583, allocations: 87.27 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3583, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002547/0.3586, allocations: 15.94 kB / 1.33 GB, free: 13.11 MB / 1.029 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.0001921/0.3588, allocations: 119.2 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.359, allocations: 47.89 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.359, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3591, allocations: 19.98 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3594, allocations: 15.92 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.3598, allocations: 117.5 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.3599, allocations: 63.34 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.3599, allocations: 4 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.3599, allocations: 15.38 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3599, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of Templates: time 0.004099/0.364, allocations: 1.002 MB / 1.331 GB, free: 11.66 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.20230952091515]