Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001724/0.001724, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001887/0.001887, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1/3.1, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.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_12_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_12_Buildings.Utilities.Math.Functions.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.00264/0.00264, allocations: 71.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.106, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001715/1.108, allocations: 0.5912 MB / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/1.108, allocations: 105.9 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/1.108, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/1.108, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-06/1.108, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/1.109, allocations: 47.75 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/1.109, allocations: 56.59 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/1.109, allocations: 10.14 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/1.109, allocations: 21.45 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/1.109, allocations: 22.61 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/1.109, allocations: 2.812 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/1.109, allocations: 51.31 kB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/1.109, allocations: 22.95 kB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/1.109, allocations: 20.47 kB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/1.109, allocations: 74 kB / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.109, allocations: 4 kB / 1.323 GB, free: 24.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/1.109, allocations: 4 kB / 1.323 GB, free: 24.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.421e-06/1.109, allocations: 2.844 kB / 1.323 GB, free: 24.51 MB / 1.061 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.0004556/1.11, allocations: 371.1 kB / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.11, allocations: 12.52 kB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/1.11, allocations: 5.906 kB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.581e-05/1.11, allocations: 171.2 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/1.11, allocations: 277.7 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/1.11, allocations: 7.344 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/1.11, allocations: 85.17 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.11, allocations: 7.125 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.11, allocations: 6.625 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.11, allocations: 0 / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/1.111, allocations: 129.6 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/1.111, allocations: 181.3 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/1.111, allocations: 91.47 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/1.111, allocations: 40.62 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/1.111, allocations: 7.984 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/1.111, allocations: 37.12 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/1.111, allocations: 0 / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.00052/1.112, allocations: 152.4 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/1.112, allocations: 51.41 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.511e-05/1.112, allocations: 93.86 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/1.112, allocations: 29.7 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.231e-05/1.112, allocations: 86.86 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/1.112, allocations: 33.95 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/1.112, allocations: 28.19 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/1.112, allocations: 317.6 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/1.112, allocations: 27.47 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/1.112, allocations: 42.97 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/1.112, allocations: 75.66 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.112, allocations: 0 / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000302/1.113, allocations: 116.9 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.113, allocations: 14.62 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.113, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.113, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/1.113, allocations: 25.75 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.113, allocations: 0 / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/1.113, allocations: 8.625 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/1.113, allocations: 3 kB / 1.325 GB, free: 22.41 MB / 1.061 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 6.291e-05/1.113, allocations: 119.7 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/1.113, allocations: 14.55 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/1.113, allocations: 11.97 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/1.113, allocations: 2.938 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.113, allocations: 0 / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.113, allocations: 4 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/1.113, allocations: 182.6 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.113, allocations: 3.938 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/1.113, allocations: 28.55 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.113, allocations: 3.938 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.113, allocations: 3.406 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.113, allocations: 4 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.113, allocations: 0 / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/1.114, allocations: 138.4 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/1.114, allocations: 87.97 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/1.114, allocations: 3.938 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.65e-05/1.114, allocations: 6.875 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/1.114, allocations: 16.62 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.114, allocations: 14.08 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.608e-05/1.114, allocations: 75.28 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.114, allocations: 0 / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002196/1.114, allocations: 21.72 kB / 1.326 GB, free: 21.76 MB / 1.061 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.0001805/1.114, allocations: 120 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003378/1.115, allocations: 81.91 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.115, allocations: 0 / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/1.115, allocations: 54.47 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/1.115, allocations: 2.938 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/1.115, allocations: 184.2 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/1.115, allocations: 0.6839 MB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/1.115, allocations: 23.19 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.115, allocations: 3.938 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of Templates: time 0.003574/1.119, allocations: 1.317 MB / 1.329 GB, free: 20.66 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.15888769600133]