Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001659/0.001659, allocations: 113.9 kB / 18.94 MB, free: 2.801 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.002098/0.002098, allocations: 185.7 kB / 22.23 MB, free: 5.215 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.462/1.462, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.232/3.232, allocations: 496 MB / 0.7834 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 69.61 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.376, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003115/0.3792, allocations: 1.551 MB / 1.309 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005039/0.3797, allocations: 187.3 kB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.3797, allocations: 0 / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.3797, allocations: 3.938 kB / 1.309 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.3798, allocations: 11.92 kB / 1.309 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.3802, allocations: 47.94 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.3803, allocations: 35.86 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3804, allocations: 11.98 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.3805, allocations: 15.94 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.3805, allocations: 19.92 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3805, allocations: 8 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.3807, allocations: 55.94 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.3807, allocations: 7.984 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.3808, allocations: 19.88 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.381, allocations: 67.77 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.381, allocations: 0 / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 8.32e-07/0.381, allocations: 0 / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.381, allocations: 0 / 1.309 GB, free: 15.76 MB / 1.014 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.0005496/0.3815, allocations: 286.2 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3816, allocations: 12.92 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.3816, allocations: 4.938 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3817, allocations: 114.4 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.3818, allocations: 4.375 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3818, allocations: 12.31 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.382, allocations: 62.2 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.382, allocations: 4.125 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3821, allocations: 11.88 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3821, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.3823, allocations: 43.95 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.3828, allocations: 247.9 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.3832, allocations: 58.47 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3833, allocations: 24.91 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.3835, allocations: 15.98 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.3835, allocations: 34.56 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3835, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0004582/0.384, allocations: 97.52 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.384, allocations: 55.41 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3841, allocations: 113.8 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3842, allocations: 25.7 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.3842, allocations: 84.22 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3842, allocations: 7.938 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.3843, allocations: 21.7 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3845, allocations: 318.8 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3846, allocations: 19.97 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.3847, allocations: 19.98 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3849, allocations: 48.81 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3849, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002355/0.3851, allocations: 77.55 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3851, allocations: 8 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3851, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3851, allocations: 4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.3852, allocations: 11.98 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3852, allocations: 0 / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.3853, allocations: 7.984 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3853, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 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 0.0001736/0.3855, allocations: 121.7 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3855, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3858, allocations: 89.91 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3858, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3858, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3858, allocations: 3.984 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.386, allocations: 156.5 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.386, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.3861, allocations: 8 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3861, allocations: 3.984 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3861, allocations: 4 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3861, allocations: 4 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3861, allocations: 7.938 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.3864, allocations: 171.5 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.3864, allocations: 0 / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3864, allocations: 7.984 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.3865, allocations: 0 / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.3865, allocations: 19.92 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3865, allocations: 0 / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.17e-05/0.3866, allocations: 87.27 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3866, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002584/0.3869, allocations: 19.95 kB / 1.312 GB, free: 12.98 MB / 1.014 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.0002238/0.3871, allocations: 116 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3874, allocations: 47.95 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3874, allocations: 0 / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3875, allocations: 23.98 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.3878, allocations: 8.469 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.3881, allocations: 121.5 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3885, allocations: 0.6768 MB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.3885, allocations: 12 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.3885, allocations: 11.44 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of SimCode: time 4.8e-07/0.3885, allocations: 0 / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of Templates: time 0.004057/0.3926, allocations: 0.9978 MB / 1.314 GB, free: 10.91 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.984766332432628]