Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007445/0.007445, allocations: 97.2 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 192 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.414/2.414, allocations: 437.1 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002599, allocations: 75.88 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7143/0.7169, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001606/0.7186, allocations: 0.5825 MB / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003573/0.7189, allocations: 113.5 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.719, allocations: 0 / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.719, allocations: 0 / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.719, allocations: 0 / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.7193, allocations: 35.89 kB / 1.167 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.7194, allocations: 67.92 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.7195, allocations: 3.938 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.7195, allocations: 27.98 kB / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.7196, allocations: 23.95 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.7196, allocations: 4 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.7198, allocations: 47.95 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.7198, allocations: 19.97 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.7199, allocations: 19.92 kB / 1.167 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.72, allocations: 71.77 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.72, allocations: 4 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/0.72, allocations: 0 / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.72, allocations: 0 / 1.167 GB, free: 2.75 MB / 0.8887 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.000509/0.7205, allocations: 379 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.7206, allocations: 8.922 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.7206, allocations: 42.73 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.7207, allocations: 4.938 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.7208, allocations: 164.3 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.7211, allocations: 285.6 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.7211, allocations: 8.375 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.7214, allocations: 77.95 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7214, allocations: 0 / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.7214, allocations: 4 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7214, allocations: 0 / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.7218, allocations: 135.8 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.722, allocations: 193.5 kB / 1.168 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.7223, allocations: 90.47 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.7224, allocations: 44.83 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.7225, allocations: 7.938 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.7225, allocations: 42.5 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.7225, allocations: 0 / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0005261/0.723, allocations: 150.1 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7231, allocations: 59.41 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.578e-05/0.7232, allocations: 89.86 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.7232, allocations: 25.7 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.7232, allocations: 80.14 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.7233, allocations: 35.69 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.7233, allocations: 33.7 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7235, allocations: 318.8 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.7236, allocations: 31.98 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.7237, allocations: 27.97 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.724, allocations: 76.81 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.724, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003498/0.7244, allocations: 117.5 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7244, allocations: 11.94 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7244, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7244, allocations: 3.984 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.7246, allocations: 19.98 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.7246, allocations: 7.984 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.7246, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.7247, allocations: 3.984 kB / 1.17 GB, free: 15.92 MB / 0.9044 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 8.517e-05/0.7248, allocations: 113.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.7248, allocations: 11.89 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.7248, allocations: 19.95 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7248, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7248, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7249, allocations: 4 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.725, allocations: 177.6 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.725, allocations: 3.938 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.7251, allocations: 23.98 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.7252, allocations: 7.938 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7252, allocations: 7.984 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7252, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.7252, allocations: 4 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.7255, allocations: 148.9 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.7256, allocations: 81.05 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.7256, allocations: 4 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.7257, allocations: 4 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.7257, allocations: 19.91 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.7258, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.7258, allocations: 85.69 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7258, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000231/0.726, allocations: 23.94 kB / 1.17 GB, free: 15.09 MB / 0.9044 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.0007272/0.7268, allocations: 0.6987 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.7271, allocations: 95.86 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7271, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.7273, allocations: 47.91 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.7275, allocations: 8 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.7279, allocations: 198.4 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.7282, allocations: 0.6846 MB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.7284, allocations: 35.95 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.7285, allocations: 23.42 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.7285, allocations: 0 / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.387/2.115, allocations: 2.024 MB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.241/11.36, allocations: 8.766 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches