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.001509/0.001509, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001458/0.001458, allocations: 207.8 kB / 23 MB, free: 4.934 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.342/3.342, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002078/0.002078, allocations: 65.23 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4304, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001785/0.4322, allocations: 0.5945 MB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000431/0.4327, allocations: 104 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.4327, allocations: 0 / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.4327, allocations: 0 / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.4327, allocations: 0 / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.4331, allocations: 43.88 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.4332, allocations: 71.92 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.4333, allocations: 0 / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.4333, allocations: 19.98 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.4333, allocations: 31.95 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.4334, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4335, allocations: 51.95 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.4336, allocations: 27.91 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.4336, allocations: 19.92 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.4337, allocations: 71.77 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4338, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4338, allocations: 4 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.4338, allocations: 0 / 1.328 GB, free: 15.89 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005382/0.4343, allocations: 290.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4343, allocations: 8.031 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.4344, allocations: 12.89 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.4345, allocations: 118.4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/0.4349, allocations: 0.526 MB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.435, allocations: 8.312 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.4352, allocations: 86.12 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4353, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4353, allocations: 4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4353, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.4356, allocations: 127.8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.4358, allocations: 121.3 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.4361, allocations: 90.45 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.4363, allocations: 40.83 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4363, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4363, allocations: 38.56 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 9.51e-07/0.4363, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000553/0.4369, allocations: 149.8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4369, allocations: 63.34 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.437, allocations: 89.86 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.437, allocations: 29.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.4371, allocations: 80.14 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.4371, allocations: 35.69 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.4372, allocations: 25.7 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4373, allocations: 318.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4375, allocations: 31.97 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4376, allocations: 31.97 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.4379, allocations: 81.34 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4379, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003295/0.4382, allocations: 105.6 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4382, allocations: 8 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4382, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4382, allocations: 7.875 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.4384, allocations: 27.97 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4384, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.4385, allocations: 11.89 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4385, allocations: 0 / 1.331 GB, free: 13.05 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: 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 0.0001055/0.4386, allocations: 126.4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.4386, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.4386, allocations: 11.91 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4387, allocations: 7.922 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4387, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.4387, allocations: 7.953 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.4387, allocations: 3.984 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.4387, allocations: 15.88 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.4388, allocations: 15.97 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004338/0.4393, allocations: 196.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004489/0.4397, allocations: 294.6 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001507/0.4398, allocations: 39.95 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.4399, allocations: 75.28 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Backend: time 2.7e-07/0.4399, allocations: 3.938 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006184/0.4405, allocations: 144 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005093/0.441, allocations: 0.5773 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Templates: time 0.004517/0.4455, allocations: 1.482 MB / 1.334 GB, free: 9.984 MB / 1.029 GB " [Timeout remaining time 300] 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: 9.416024805999768]