Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001324/0.001324, allocations: 102.9 kB / 16.45 MB, free: 6.445 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.001384/0.001384, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.544/1.544, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7611 GB, free: 15.66 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.91 kB / 1.104 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9951/0.9971, allocations: 168.7 MB / 1.269 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001801/0.9989, allocations: 0.5911 MB / 1.269 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.9993, allocations: 99.91 kB / 1.269 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.9993, allocations: 0 / 1.269 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.9993, allocations: 5.312 kB / 1.269 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-06/0.9993, allocations: 0 / 1.269 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.9997, allocations: 42.81 kB / 1.269 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.9998, allocations: 65.06 kB / 1.27 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.9999, allocations: 2.375 kB / 1.27 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.9999, allocations: 27.55 kB / 1.27 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/1, allocations: 24.84 kB / 1.27 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/1, allocations: 2.969 kB / 1.27 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/1, allocations: 49.5 kB / 1.27 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/1, allocations: 20.11 kB / 1.27 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/1, allocations: 27.3 kB / 1.27 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/1, allocations: 69.73 kB / 1.27 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1, allocations: 0.7188 kB / 1.27 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/1, allocations: 0 / 1.27 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.859e-06/1, allocations: 4 kB / 1.27 GB, free: 7.191 MB / 0.9981 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.0004634/1.001, allocations: 378.4 kB / 1.27 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.001, allocations: 10.06 kB / 1.27 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/1.001, allocations: 43.42 kB / 1.27 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/1.001, allocations: 5.406 kB / 1.27 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.762e-05/1.001, allocations: 163.1 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/1.001, allocations: 284.7 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/1.001, allocations: 3.531 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/1.002, allocations: 88.59 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.002, allocations: 0 / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.002, allocations: 4.641 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.002, allocations: 1.188 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/1.002, allocations: 137.9 kB / 1.271 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/1.002, allocations: 179.5 kB / 1.271 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/1.002, allocations: 93.55 kB / 1.271 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/1.003, allocations: 44.83 kB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.003, allocations: 8.797 kB / 1.271 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/1.003, allocations: 37.48 kB / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/1.003, allocations: 0 / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0005188/1.003, allocations: 147.8 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/1.003, allocations: 57.41 kB / 1.271 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.063e-05/1.003, allocations: 89.86 kB / 1.271 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/1.003, allocations: 29.64 kB / 1.271 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.2e-05/1.003, allocations: 85.02 kB / 1.272 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/1.003, allocations: 34.89 kB / 1.272 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/1.003, allocations: 31.31 kB / 1.272 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/1.003, allocations: 314 kB / 1.272 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/1.003, allocations: 32.98 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/1.004, allocations: 30.12 kB / 1.272 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/1.004, allocations: 74.52 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.004, allocations: 0 / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003287/1.004, allocations: 121.7 kB / 1.272 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.004, allocations: 9.375 kB / 1.272 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.004, allocations: 0 / 1.272 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.004, allocations: 1.781 kB / 1.272 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/1.004, allocations: 27.77 kB / 1.272 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.004, allocations: 4.75 kB / 1.272 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/1.004, allocations: 4.297 kB / 1.272 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/1.004, allocations: 4.812 kB / 1.272 GB, free: 5.047 MB / 0.9981 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.112e-05/1.005, allocations: 120 kB / 1.272 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/1.005, allocations: 11.48 kB / 1.272 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/1.005, allocations: 11.97 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.005, allocations: 1.594 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.005, allocations: 1.453 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.005, allocations: 0.8438 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/1.005, allocations: 180.6 kB / 1.273 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.005, allocations: 0 / 1.273 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.005, allocations: 27.83 kB / 1.273 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.005, allocations: 4.844 kB / 1.273 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.005, allocations: 6.734 kB / 1.273 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.005, allocations: 4.844 kB / 1.273 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.005, allocations: 4.781 kB / 1.273 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/1.005, allocations: 139.9 kB / 1.273 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/1.005, allocations: 84.41 kB / 1.273 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/1.005, allocations: 4.781 kB / 1.273 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/1.005, allocations: 4.891 kB / 1.273 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/1.005, allocations: 10.11 kB / 1.273 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.005, allocations: 13.42 kB / 1.273 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.207e-05/1.005, allocations: 75.28 kB / 1.273 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.005, allocations: 0 / 1.273 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002597/1.006, allocations: 21.61 kB / 1.273 GB, free: 4.406 MB / 0.9981 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.0005877/1.006, allocations: 0.7046 MB / 1.274 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003361/1.007, allocations: 87.02 kB / 1.274 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.007, allocations: 1.031 kB / 1.274 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/1.007, allocations: 44.39 kB / 1.274 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/1.007, allocations: 8.438 kB / 1.274 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/1.007, allocations: 204.3 kB / 1.274 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/1.008, allocations: 0.6846 MB / 1.275 GB, free: 18.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001803/1.008, allocations: 43.02 kB / 1.275 GB, free: 18.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/1.008, allocations: 25.56 kB / 1.275 GB, free: 18.86 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.008, allocations: 0 / 1.275 GB, free: 18.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/1.033, allocations: 2.041 MB / 1.277 GB, free: 18.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/9.193, allocations: 12.27 kB / 1.277 GB, free: 18.41 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.410317621193826]