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.001534/0.001534, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001725/0.001725, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.164/3.164, allocations: 0.5107 GB / 0.8166 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.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: 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.002031/0.002031, allocations: 71.2 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00286/0.3589, allocations: 1.559 MB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005075/0.3594, allocations: 179.5 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.3595, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.3595, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.3595, allocations: 11.88 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.3599, allocations: 59.81 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.36, allocations: 23.98 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3601, allocations: 11.98 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.3601, allocations: 23.86 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.3602, allocations: 15.92 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3602, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3603, allocations: 59.92 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.3603, allocations: 4 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.3604, allocations: 11.94 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3605, allocations: 67.72 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3605, allocations: 0 / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3605, allocations: 0 / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3605, allocations: 0 / 1.367 GB, free: 11.52 MB / 1.061 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.0004973/0.361, allocations: 286.2 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3611, allocations: 12.03 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.3611, allocations: 0.9375 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3612, allocations: 118.4 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3613, allocations: 384 / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.3613, allocations: 8.375 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3615, allocations: 70.14 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3615, allocations: 192 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3615, allocations: 3.938 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3615, allocations: 7.938 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.3617, allocations: 43.95 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3621, allocations: 216.5 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.3624, allocations: 62.42 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.3625, allocations: 28.89 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.3626, allocations: 11.98 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3626, allocations: 34.56 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3626, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003826/0.363, allocations: 101.6 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3631, allocations: 55.34 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.3632, allocations: 105.8 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3632, allocations: 25.7 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.3632, allocations: 92.08 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3633, allocations: 3.953 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3633, allocations: 17.72 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3634, allocations: 314.8 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.978e-05/0.3635, allocations: 19.98 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.3636, allocations: 23.97 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3638, allocations: 45.09 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3638, allocations: 3.938 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002133/0.364, allocations: 85.53 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.364, allocations: 8 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.364, allocations: 0 / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.364, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.3641, allocations: 11.98 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3641, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.3641, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.3641, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 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.705e-05/0.3642, allocations: 121.8 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.3643, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.3645, allocations: 81.33 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3645, allocations: 4 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3645, allocations: 0 / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3645, allocations: 0 / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3647, allocations: 121.2 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3647, allocations: 0 / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.3647, allocations: 11.98 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3647, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3647, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3648, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3648, allocations: 256 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.365, allocations: 183.4 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-06/0.365, allocations: 3.938 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.365, allocations: 7.938 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.3651, allocations: 7.984 kB / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.3652, allocations: 8 kB / 1.369 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3652, allocations: 0 / 1.369 GB, free: 8.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.3652, allocations: 87.27 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3652, allocations: 0 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002356/0.3655, allocations: 19.94 kB / 1.369 GB, free: 8.844 MB / 1.061 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.0001869/0.3657, allocations: 119.1 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3659, allocations: 43.95 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3659, allocations: 0 / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.366, allocations: 27.97 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.3663, allocations: 3.938 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.3666, allocations: 155.2 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.4e-05/0.3667, allocations: 67.34 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.3667, allocations: 7.438 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3667, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of Templates: time 0.00274/0.3694, allocations: 0.9716 MB / 1.37 GB, free: 7.395 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.791456175036728]