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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006835/0.006835, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001781/0.001781, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.616/2.616, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 71.89 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.333, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001762/0.3348, allocations: 0.5898 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003984/0.3353, allocations: 103.7 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.3353, allocations: 3.938 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.3353, allocations: 0 / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.3353, allocations: 4 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3357, allocations: 39.89 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3358, allocations: 67.92 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.3359, allocations: 3.984 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.3359, allocations: 23.98 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.336, allocations: 19.97 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.336, allocations: 4 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3361, allocations: 43.95 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.3362, allocations: 23.91 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.3362, allocations: 23.91 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.3363, allocations: 71.83 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3364, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3364, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3364, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 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.0005206/0.3369, allocations: 376.9 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.337, allocations: 8.031 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.337, allocations: 42.73 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.337, allocations: 4.938 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3372, allocations: 174.2 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.3375, allocations: 277.6 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3375, allocations: 8.375 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.3378, allocations: 89.88 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3378, allocations: 4 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.3378, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3378, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.3382, allocations: 131.8 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.3384, allocations: 189.5 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.3387, allocations: 94.41 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3389, allocations: 48.83 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3389, allocations: 7.984 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3389, allocations: 34.5 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3389, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005312/0.3395, allocations: 145.9 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3395, allocations: 55.34 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.708e-05/0.3396, allocations: 93.86 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.3396, allocations: 25.7 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.3397, allocations: 84.14 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.3397, allocations: 35.69 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.3398, allocations: 33.7 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3399, allocations: 314.8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3401, allocations: 31.98 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3402, allocations: 32.34 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.3405, allocations: 80.75 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3405, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003469/0.3409, allocations: 117.5 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3409, allocations: 7.938 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3409, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.3409, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.341, allocations: 27.97 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3411, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.3411, allocations: 4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3411, allocations: 3.984 kB / 1.224 GB, free: 10.4 MB / 0.9825 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 9.062e-05/0.3412, allocations: 117.8 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.3413, allocations: 15.83 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.3413, allocations: 11.97 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3413, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3413, allocations: 3.984 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3413, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3415, allocations: 177.6 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3415, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3416, allocations: 27.92 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3416, allocations: 3.938 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3416, allocations: 11.98 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3417, allocations: 4 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3417, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.342, allocations: 137 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3421, allocations: 84.98 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3421, allocations: 11.94 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.3422, allocations: 4 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.3422, allocations: 15.98 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3422, allocations: 11.92 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.3423, allocations: 75.28 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3423, allocations: 4 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002189/0.3425, allocations: 19.94 kB / 1.224 GB, free: 9.574 MB / 0.9825 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.0007515/0.3433, allocations: 0.7026 MB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.3436, allocations: 84.42 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.3436, allocations: 0 / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3438, allocations: 48.12 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.3439, allocations: 8.219 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.3444, allocations: 213.9 kB / 1.225 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3447, allocations: 0.6846 MB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.3449, allocations: 35.95 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.3449, allocations: 31.36 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.345, allocations: 0 / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3139/0.6588, allocations: 2.02 MB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.4/10.06, allocations: 6.312 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches