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.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.001365/0.001365, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001491/0.001491, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 9.156 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.286/3.286, allocations: 0.4899 GB / 0.7915 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 72.72 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002863/0.3777, allocations: 1.572 MB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004847/0.3782, allocations: 183.5 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.3783, allocations: 0 / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.3783, allocations: 3.938 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.3783, allocations: 3.938 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3787, allocations: 51.88 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.3788, allocations: 31.92 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3789, allocations: 15.98 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.3789, allocations: 11.94 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.379, allocations: 23.89 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.379, allocations: 4 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3791, allocations: 47.97 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3791, allocations: 11.92 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.3791, allocations: 19.92 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3793, allocations: 63.78 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3793, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3793, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3793, allocations: 0 / 1.323 GB, free: 0.7812 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.0005235/0.3798, allocations: 367.2 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3799, allocations: 11.98 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3799, allocations: 12.89 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.38, allocations: 160.4 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3801, allocations: 4.375 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3801, allocations: 384 / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3803, allocations: 66.22 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3803, allocations: 192 / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3803, allocations: 3.938 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3803, allocations: 0 / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.3805, allocations: 51.94 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.381, allocations: 284.7 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.3813, allocations: 54.53 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3814, allocations: 32.83 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.3817, allocations: 170.2 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3817, allocations: 34.5 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3817, allocations: 0 / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000403/0.3821, allocations: 93.62 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3821, allocations: 55.41 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.3822, allocations: 117.9 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3822, allocations: 29.7 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.3823, allocations: 84.14 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.3823, allocations: 7.953 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3823, allocations: 13.72 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3825, allocations: 322.8 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.732e-05/0.3826, allocations: 15.98 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.3827, allocations: 31.91 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3828, allocations: 44.77 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3828, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002423/0.3831, allocations: 77.64 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3831, allocations: 4 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3831, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3831, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.3832, allocations: 15.98 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3832, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.3833, allocations: 7.953 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3833, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 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.02e-05/0.3834, allocations: 115.5 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3834, allocations: 11.94 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.3837, allocations: 85.55 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3837, allocations: 4 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3837, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3837, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3839, allocations: 173.5 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3839, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.991e-05/0.384, allocations: 11.98 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.384, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.384, allocations: 384 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.384, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.384, allocations: 4 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3843, allocations: 183.3 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.3843, allocations: 81.11 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3843, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.3844, allocations: 7.984 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3845, allocations: 4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.3845, allocations: 15.92 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.3845, allocations: 83.28 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3845, allocations: 0 / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002466/0.3848, allocations: 16 kB / 1.326 GB, free: 13.5 MB / 1.029 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.0002/0.385, allocations: 123.1 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3852, allocations: 43.89 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3852, allocations: 4 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3853, allocations: 27.97 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3856, allocations: 7.938 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.3859, allocations: 117.4 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.3864, allocations: 0.6845 MB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.3864, allocations: 11.98 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.3864, allocations: 15.44 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3864, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of Templates: time 0.003799/0.3902, allocations: 0.9885 MB / 1.328 GB, free: 11.42 MB / 1.029 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: 9.01232449291274]