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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.805/2.805, allocations: 476.7 MB / 0.7629 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001933/0.001933, allocations: 67.88 kB / 1.107 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002649/1.047, allocations: 1.559 MB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004282/1.048, allocations: 186.4 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/1.048, allocations: 0.8438 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/1.048, allocations: 4.828 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.156e-05/1.048, allocations: 4.656 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/1.048, allocations: 51.92 kB / 1.274 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.055e-05/1.048, allocations: 35.55 kB / 1.274 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/1.048, allocations: 9.906 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/1.048, allocations: 15.73 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/1.048, allocations: 22.45 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/1.049, allocations: 3.281 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/1.049, allocations: 49.55 kB / 1.274 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/1.049, allocations: 8.047 kB / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/1.049, allocations: 20.75 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/1.049, allocations: 76.2 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/1.049, allocations: 1.062 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.81e-07/1.049, allocations: 0 / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.288e-06/1.049, allocations: 0 / 1.274 GB, free: 6.594 MB / 0.9981 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.0003753/1.049, allocations: 350.2 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/1.049, allocations: 9.344 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/1.049, allocations: 7.062 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.503e-05/1.049, allocations: 174.8 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/1.049, allocations: 6.375 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/1.049, allocations: 2.312 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/1.05, allocations: 69.55 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.05, allocations: 192 / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.05, allocations: 4.469 kB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/1.05, allocations: 1.781 kB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/1.05, allocations: 49.02 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/1.05, allocations: 277 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/1.05, allocations: 56.95 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.687e-05/1.05, allocations: 29.47 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/1.051, allocations: 177 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/1.051, allocations: 32.5 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/1.051, allocations: 0 / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003584/1.051, allocations: 97.09 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/1.051, allocations: 52.28 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/1.051, allocations: 112.4 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/1.051, allocations: 25.7 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/1.051, allocations: 86.48 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/1.051, allocations: 9.797 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/1.051, allocations: 19.95 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/1.051, allocations: 315.7 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/1.051, allocations: 24.22 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/1.051, allocations: 25.58 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/1.052, allocations: 46.98 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.052, allocations: 0 / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002089/1.052, allocations: 72.69 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.052, allocations: 5.219 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/1.052, allocations: 1.062 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/1.052, allocations: 5.125 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/1.052, allocations: 11.34 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/1.052, allocations: 1.406 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/1.052, allocations: 13.45 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.052, allocations: 1.062 kB / 1.276 GB, free: 4.625 MB / 0.9981 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 4.585e-05/1.052, allocations: 112.9 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/1.052, allocations: 2.391 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/1.052, allocations: 88.62 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/1.052, allocations: 4.844 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/1.052, allocations: 0.5312 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/1.052, allocations: 0.875 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.052, allocations: 169.5 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.052, allocations: 0 / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/1.052, allocations: 10.84 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.052, allocations: 0.8438 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.052, allocations: 9.375 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.052, allocations: 4.656 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.052, allocations: 3.938 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/1.053, allocations: 171.5 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/1.053, allocations: 78.73 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/1.053, allocations: 3.469 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/1.053, allocations: 3.969 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/1.053, allocations: 13.84 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/1.053, allocations: 5.609 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.092e-05/1.053, allocations: 87.78 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.053, allocations: 0 / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002477/1.053, allocations: 17.73 kB / 1.277 GB, free: 3.902 MB / 0.9981 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.0001533/1.053, allocations: 119.1 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002324/1.054, allocations: 56.89 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.054, allocations: 1.125 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/1.054, allocations: 25.91 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/1.054, allocations: 6.281 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/1.054, allocations: 128.4 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/1.054, allocations: 0.6777 MB / 1.278 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.828e-05/1.054, allocations: 9.438 kB / 1.278 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/1.054, allocations: 10.25 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.054, allocations: 0 / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of Templates: time 0.003163/1.057, allocations: 0.9982 MB / 1.279 GB, free: 2.848 MB / 0.9981 GB " [Timeout remaining time 299] 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: 8.956224141642451]