Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001375/0.001375, allocations: 113.7 kB / 17.08 MB, free: 5.977 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.001358/0.001358, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.379/1.379, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.89 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001646/1.036, allocations: 0.5963 MB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003497/1.036, allocations: 102.4 kB / 1.263 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/1.036, allocations: 0.8125 kB / 1.263 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/1.036, allocations: 0 / 1.263 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/1.036, allocations: 0 / 1.263 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/1.036, allocations: 42.83 kB / 1.263 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000135/1.036, allocations: 69.05 kB / 1.263 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/1.037, allocations: 3.922 kB / 1.263 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/1.037, allocations: 22.38 kB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/1.037, allocations: 19.92 kB / 1.263 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/1.037, allocations: 3.062 kB / 1.263 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/1.037, allocations: 49.61 kB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/1.037, allocations: 26.06 kB / 1.264 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/1.037, allocations: 26.52 kB / 1.264 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/1.037, allocations: 72.39 kB / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/1.037, allocations: 0 / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/1.037, allocations: 0.75 kB / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.609e-06/1.037, allocations: 0 / 1.264 GB, free: 7.484 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004256/1.037, allocations: 374.6 kB / 1.264 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/1.037, allocations: 9.062 kB / 1.264 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/1.038, allocations: 10.97 kB / 1.264 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.659e-05/1.038, allocations: 166.2 kB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/1.038, allocations: 288.8 kB / 1.264 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1.038, allocations: 3.656 kB / 1.264 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/1.038, allocations: 80.45 kB / 1.264 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.038, allocations: 7.938 kB / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.038, allocations: 4.969 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.038, allocations: 5.5 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/1.038, allocations: 133.7 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/1.039, allocations: 175.2 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/1.039, allocations: 98.25 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/1.039, allocations: 45.11 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/1.039, allocations: 6.062 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/1.039, allocations: 36.91 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 3.787e-06/1.039, allocations: 0 / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0005624/1.04, allocations: 158.5 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/1.04, allocations: 57.66 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.941e-05/1.04, allocations: 90.55 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/1.04, allocations: 26.45 kB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-06/1.04, allocations: 80.14 kB / 1.265 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/1.04, allocations: 38.98 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/1.04, allocations: 27.5 kB / 1.265 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.447e-05/1.04, allocations: 319 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/1.04, allocations: 28.48 kB / 1.266 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/1.04, allocations: 38.38 kB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/1.041, allocations: 77.86 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.041, allocations: 0 / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003314/1.041, allocations: 110.2 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.041, allocations: 9.781 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.041, allocations: 0.5625 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.041, allocations: 5.062 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.041, allocations: 23.2 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.041, allocations: 0.5156 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/1.041, allocations: 17.27 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/1.041, allocations: 4.578 kB / 1.266 GB, free: 5.379 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.723e-05/1.041, allocations: 120.1 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/1.041, allocations: 6.859 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/1.041, allocations: 8.938 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.041, allocations: 1.062 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.041, allocations: 0.5156 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.041, allocations: 1.797 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/1.041, allocations: 183.1 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.041, allocations: 5.859 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/1.042, allocations: 27.2 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.042, allocations: 3.938 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.042, allocations: 4.312 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.042, allocations: 1 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.042, allocations: 0 / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/1.042, allocations: 148.4 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/1.042, allocations: 83.67 kB / 1.267 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.042, allocations: 9.344 kB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/1.042, allocations: 8.094 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/1.042, allocations: 14.95 kB / 1.267 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.042, allocations: 8.406 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.121e-05/1.042, allocations: 76.72 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.042, allocations: 0 / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002367/1.042, allocations: 20.73 kB / 1.267 GB, free: 4.734 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001797/1.043, allocations: 119.8 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003584/1.043, allocations: 93.47 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.043, allocations: 0 / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/1.043, allocations: 47.22 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/1.043, allocations: 6.359 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/1.044, allocations: 183.2 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.907e-05/1.044, allocations: 0.6842 MB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/1.044, allocations: 27.77 kB / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/1.044, allocations: 0 / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.003307/1.047, allocations: 1.324 MB / 1.269 GB, free: 3.629 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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: 11.108197338879108]