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.000838/0.000838, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0008187/0.0008187, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8652/0.8652, allocations: 177.1 MB / 203.5 MB, free: 5.742 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 1.749/1.749, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.85e-05, allocations: 5.234 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00171/0.001728, allocations: 1.551 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00033/0.002058, allocations: 176.1 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.002091, allocations: 4 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.002116, allocations: 3.938 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.002153, allocations: 7.875 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.002444, allocations: 51.81 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.002507, allocations: 43.89 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.00259, allocations: 8 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.481e-05/0.002625, allocations: 23.92 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.00266, allocations: 15.97 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.002674, allocations: 4 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.002769, allocations: 51.89 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.002784, allocations: 15.91 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.0028, allocations: 8 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.002927, allocations: 71.83 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002929, allocations: 0 / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00293, allocations: 0 / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002933, allocations: 0 / 1.003 GB, free: 10.96 MB / 0.9636 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.0003362/0.003269, allocations: 278.2 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.003303, allocations: 16.73 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.00333, allocations: 0.9375 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/0.003408, allocations: 121.6 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.003426, allocations: 4.375 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.003435, allocations: 4.375 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.00356, allocations: 62.22 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.003568, allocations: 4.188 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.003579, allocations: 8.359 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.003583, allocations: 384 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.003684, allocations: 51.89 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.003944, allocations: 212.5 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.004138, allocations: 58.53 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.004188, allocations: 28.89 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.004295, allocations: 11.98 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.00431, allocations: 34.5 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.004311, allocations: 4 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002303/0.004541, allocations: 93.58 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.004566, allocations: 59.33 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.85e-05/0.004614, allocations: 101.9 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.004624, allocations: 25.7 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.004661, allocations: 96.08 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.004675, allocations: 3.953 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.004704, allocations: 21.66 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.004773, allocations: 314.8 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.004817, allocations: 23.97 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.004856, allocations: 19.98 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.004942, allocations: 44.75 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004944, allocations: 4 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001109/0.005055, allocations: 77.59 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005066, allocations: 8 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.005071, allocations: 0 / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.005081, allocations: 3.984 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.953e-05/0.005121, allocations: 8 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.005126, allocations: 3.984 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.005151, allocations: 7.984 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.005155, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 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.235e-05/0.005208, allocations: 113.8 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.005222, allocations: 3.938 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.005372, allocations: 97.25 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005373, allocations: 0 / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.005376, allocations: 0 / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005379, allocations: 384 / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.77e-05/0.005467, allocations: 121.3 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005467, allocations: 0 / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.005497, allocations: 11.98 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005498, allocations: 256 / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.005506, allocations: 11.88 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.005508, allocations: 4 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005509, allocations: 3.984 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.005639, allocations: 171.5 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.005644, allocations: 3.984 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.005654, allocations: 3.938 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.005693, allocations: 4 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.005732, allocations: 11.98 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.005735, allocations: 0 / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.005761, allocations: 91.27 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005761, allocations: 0 / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001631/0.005924, allocations: 16 kB / 1.005 GB, free: 8.273 MB / 0.9636 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.0001208/0.006045, allocations: 111.2 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.006177, allocations: 47.95 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006178, allocations: 0 / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/0.006227, allocations: 27.92 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.006409, allocations: 9.5 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.006643, allocations: 154.5 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.006684, allocations: 67.34 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.006706, allocations: 12.5 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.006707, allocations: 0 / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of Templates: time 0.001838/0.008545, allocations: 0.9706 MB / 1.007 GB, free: 6.824 MB / 0.9636 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/jenkins/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: 6.35372609179467]