Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001843/0.001843, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002266/0.002266, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.372/3.372, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [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.002042/0.002042, allocations: 69.3 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4267, allocations: 181.9 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002548/0.4293, allocations: 0.5873 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004948/0.4298, allocations: 116 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.4298, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.4298, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.4298, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.4303, allocations: 35.89 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.4304, allocations: 63.94 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.4305, allocations: 4 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.4305, allocations: 23.97 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.4306, allocations: 23.91 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.4306, allocations: 4 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.4308, allocations: 59.94 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.4308, allocations: 23.91 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.4309, allocations: 19.92 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.431, allocations: 72.05 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.431, allocations: 4 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4311, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4311, allocations: 0 / 1.364 GB, free: 12.97 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.0006042/0.4317, allocations: 294.3 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4317, allocations: 8.031 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.4318, allocations: 42.75 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.4318, allocations: 4.938 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.4319, allocations: 118.4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/0.4324, allocations: 0.5299 MB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.4324, allocations: 384 / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.4327, allocations: 89.88 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4327, allocations: 4 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4327, allocations: 0 / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4327, allocations: 0 / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.433, allocations: 127.8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.4332, allocations: 140.7 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.4335, allocations: 90.52 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.4337, allocations: 44.83 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.4337, allocations: 4 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4337, allocations: 38.77 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.4337, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005571/0.4343, allocations: 149.5 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.4343, allocations: 51.41 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.4344, allocations: 93.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4344, allocations: 25.7 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.4345, allocations: 84.14 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.4345, allocations: 43.64 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.4346, allocations: 29.7 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4347, allocations: 314.8 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4348, allocations: 35.97 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.435, allocations: 36.34 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.4352, allocations: 80.91 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4352, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003481/0.4356, allocations: 109.6 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4356, allocations: 7.938 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4356, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4356, allocations: 11.94 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4358, allocations: 23.97 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4358, allocations: 3.938 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.4358, allocations: 11.94 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.4358, allocations: 4 kB / 1.367 GB, free: 10.04 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 0.000103/0.4359, allocations: 117.8 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.436, allocations: 15.88 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.436, allocations: 7.906 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.436, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.436, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.436, allocations: 4 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.4362, allocations: 148.7 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4362, allocations: 0 / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4363, allocations: 23.98 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.4363, allocations: 7.938 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4363, allocations: 3.984 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4363, allocations: 0 / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4363, allocations: 0 / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.4367, allocations: 148.9 kB / 1.367 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.4367, allocations: 11.86 kB / 1.367 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.4367, allocations: 8 kB / 1.367 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.4367, allocations: 0 / 1.367 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.4368, allocations: 15.97 kB / 1.367 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.4368, allocations: 4 kB / 1.367 GB, free: 9.449 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.4368, allocations: 75.28 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4368, allocations: 0 / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000228/0.4371, allocations: 24 kB / 1.368 GB, free: 9.352 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.0007965/0.4379, allocations: 0.7019 MB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.4382, allocations: 79.94 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4382, allocations: 4 kB / 1.368 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.4384, allocations: 44.45 kB / 1.368 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.4385, allocations: 8 kB / 1.368 GB, free: 8.488 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.4391, allocations: 206.5 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.494e-05/0.4392, allocations: 67.34 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.4394, allocations: 39.95 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.4394, allocations: 27.36 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4394, allocations: 0 / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.4762, allocations: 2.51 MB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.62, allocations: 18.2 kB / 1.371 GB, free: 5.711 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.858799930196255]