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.001353/0.001353, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001508/0.001508, allocations: 213 kB / 22.99 MB, free: 4.957 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.333/3.333, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.001892/0.001892, allocations: 67.53 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3873, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003126/0.3904, allocations: 1.558 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005887/0.391, allocations: 179.4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.391, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.3911, allocations: 7.922 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.3911, allocations: 3.938 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.3915, allocations: 51.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.3915, allocations: 35.92 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.3916, allocations: 11.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.3917, allocations: 15.92 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.3917, allocations: 19.92 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3917, allocations: 4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3919, allocations: 51.95 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.3919, allocations: 15.97 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.3919, allocations: 11.94 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.3921, allocations: 67.66 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3921, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3921, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3921, allocations: 4 kB / 1.329 GB, free: 14.93 MB / 1.029 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.000498/0.3926, allocations: 282.2 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3926, allocations: 16.02 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3926, allocations: 8.891 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3928, allocations: 110.5 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3928, allocations: 8.375 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3928, allocations: 384 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.393, allocations: 66.22 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.393, allocations: 192 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3931, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3931, allocations: 3.984 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3933, allocations: 51.89 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.3937, allocations: 212.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.394, allocations: 62.47 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3941, allocations: 32.83 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.3943, allocations: 11.98 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3943, allocations: 30.56 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3943, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003913/0.3947, allocations: 93.64 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3948, allocations: 63.33 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.3949, allocations: 97.86 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3949, allocations: 25.7 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.395, allocations: 100 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.395, allocations: 3.953 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.395, allocations: 17.72 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3952, allocations: 314.8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.3953, allocations: 27.91 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.3954, allocations: 19.98 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3956, allocations: 44.81 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3956, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002368/0.3958, allocations: 73.66 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3958, allocations: 8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3958, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3958, allocations: 3.984 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.3959, allocations: 8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3959, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.396, allocations: 11.92 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.396, allocations: 0 / 1.331 GB, free: 12.98 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 8.817e-05/0.3961, allocations: 118.3 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.3961, allocations: 3.953 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.3964, allocations: 85.33 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3964, allocations: 3.984 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3965, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3965, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.3966, allocations: 117.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3966, allocations: 4.375 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.3968, allocations: 11.98 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3968, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3968, allocations: 3.938 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3968, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3968, allocations: 3.938 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.397, allocations: 171.4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.3971, allocations: 7.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3971, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.3972, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3972, allocations: 11.98 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3972, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.446e-05/0.3973, allocations: 87.27 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3973, allocations: 8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002486/0.3975, allocations: 15.94 kB / 1.331 GB, free: 12.25 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.0001895/0.3977, allocations: 111.2 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.398, allocations: 51.89 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.398, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3981, allocations: 19.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3984, allocations: 19.86 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3987, allocations: 121.5 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.384e-05/0.3988, allocations: 63.34 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.3988, allocations: 4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.3988, allocations: 11.44 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3988, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Templates: time 0.003863/0.4027, allocations: 1.019 MB / 1.333 GB, free: 10.79 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 -s gbode -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/jenkins1/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.023322237000684]