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.001399/0.001399, allocations: 80.69 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.001549/0.001549, allocations: 162.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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.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 2.969/2.969, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] 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.066e-05/1.066e-05, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/4.18e-05, allocations: 2.281 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003051/0.003093, allocations: 1.576 MB / 1.002 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005/0.003593, allocations: 171.4 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.003639, allocations: 0 / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.003668, allocations: 3.938 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.003721, allocations: 3.938 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.00411, allocations: 55.75 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.157e-05/0.004192, allocations: 43.89 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.004281, allocations: 12 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.004331, allocations: 19.98 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.004374, allocations: 15.91 kB / 1.002 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.004392, allocations: 4 kB / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.004536, allocations: 51.89 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.004556, allocations: 11.97 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.004586, allocations: 8 kB / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.004764, allocations: 75.77 kB / 1.002 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.004769, allocations: 4 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00477, allocations: 0 / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.004774, allocations: 4 kB / 1.002 GB, free: 5.25 MB / 0.9512 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.0005013/0.005276, allocations: 282.1 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.005308, allocations: 8.031 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.005351, allocations: 4.938 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.005467, allocations: 117.7 kB / 1.003 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.005489, allocations: 4.375 kB / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.0055, allocations: 384 / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.005711, allocations: 66.22 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.005719, allocations: 192 / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.005729, allocations: 4.375 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005733, allocations: 384 / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.005946, allocations: 47.89 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.006312, allocations: 216.5 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.006643, allocations: 54.55 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.006751, allocations: 28.89 kB / 1.003 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.006901, allocations: 15.98 kB / 1.003 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.006933, allocations: 38.5 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.006934, allocations: 3.938 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000427/0.007361, allocations: 97.56 kB / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.007403, allocations: 51.41 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.007484, allocations: 97.86 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.007503, allocations: 29.7 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.00756, allocations: 92.08 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.007579, allocations: 11.89 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.00763, allocations: 17.72 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.007795, allocations: 318.8 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.007896, allocations: 15.98 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.007985, allocations: 20.23 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.008176, allocations: 52.97 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.00818, allocations: 4 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002459/0.008426, allocations: 85.58 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.008441, allocations: 7.984 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008446, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.008459, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.008547, allocations: 11.98 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.008551, allocations: 0 / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.008613, allocations: 8 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.008618, allocations: 0 / 1.004 GB, free: 3.297 MB / 0.9512 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.891e-05/0.008717, allocations: 114.4 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.00875, allocations: 11.92 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.009041, allocations: 89.22 kB / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009043, allocations: 0 / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009047, allocations: 0 / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.00905, allocations: 0 / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.009205, allocations: 113.4 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009206, allocations: 0 / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.009286, allocations: 11.98 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.009287, allocations: 4 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.009301, allocations: 7.938 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.009302, allocations: 0 / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009303, allocations: 0 / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.009604, allocations: 167.5 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.009616, allocations: 7.984 kB / 1.004 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.009635, allocations: 7.938 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.009722, allocations: 4 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.009768, allocations: 11.98 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.009775, allocations: 4 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.00983, allocations: 91.27 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.00983, allocations: 0 / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002673/0.0101, allocations: 23.83 kB / 1.005 GB, free: 2.57 MB / 0.9512 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.0001986/0.0103, allocations: 115.2 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.01055, allocations: 43.95 kB / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01055, allocations: 0 / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.01066, allocations: 35.91 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01093, allocations: 0 / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.01127, allocations: 120.9 kB / 1.005 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.468e-05/0.01135, allocations: 63.34 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.01137, allocations: 4 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.01141, allocations: 16.5 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.01141, allocations: 0 / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of Templates: time 0.003993/0.0154, allocations: 0.9875 MB / 1.006 GB, free: 1.141 MB / 0.9512 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: 8.109127432107925]