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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004688/0.004688, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001259/0.001259, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.563/2.563, allocations: 482.6 MB / 0.755 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 62.61 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2894, allocations: 162.3 MB / 1.242 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001622/0.2911, allocations: 0.5952 MB / 1.242 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003422/0.2914, allocations: 100 kB / 1.243 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.2915, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.2915, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.2915, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.2918, allocations: 39.89 kB / 1.243 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.292, allocations: 67.92 kB / 1.243 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.292, allocations: 11.98 kB / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.2921, allocations: 19.98 kB / 1.243 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.2921, allocations: 31.83 kB / 1.243 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2921, allocations: 4 kB / 1.243 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2923, allocations: 43.97 kB / 1.243 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.2923, allocations: 23.97 kB / 1.243 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.2924, allocations: 19.91 kB / 1.243 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2925, allocations: 72.06 kB / 1.243 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2925, allocations: 0 / 1.243 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2925, allocations: 0 / 1.243 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2925, allocations: 0 / 1.243 GB, free: 7.852 MB / 0.9669 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.0004934/0.293, allocations: 379.3 kB / 1.243 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2931, allocations: 12.03 kB / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.2931, allocations: 34.75 kB / 1.243 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.2932, allocations: 8.938 kB / 1.243 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2933, allocations: 172.3 kB / 1.243 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.2935, allocations: 277.6 kB / 1.244 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2936, allocations: 4.375 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.2938, allocations: 93.86 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2938, allocations: 0 / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2938, allocations: 0 / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2938, allocations: 4 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.2942, allocations: 131.8 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.2944, allocations: 177.6 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.2947, allocations: 98.56 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2949, allocations: 52.92 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2949, allocations: 11.92 kB / 1.244 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2949, allocations: 34.5 kB / 1.244 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.2949, allocations: 4 kB / 1.244 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005151/0.2954, allocations: 137.6 kB / 1.244 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2955, allocations: 55.41 kB / 1.245 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.417e-05/0.2955, allocations: 93.86 kB / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2956, allocations: 29.7 kB / 1.245 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.2956, allocations: 80.14 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.2957, allocations: 35.69 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.2957, allocations: 33.64 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2959, allocations: 314.8 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.296, allocations: 35.97 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2961, allocations: 35.91 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.2964, allocations: 72.81 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2964, allocations: 0 / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003431/0.2968, allocations: 117.5 kB / 1.245 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2968, allocations: 7.938 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2968, allocations: 0 / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2968, allocations: 4 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.297, allocations: 27.91 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.297, allocations: 0 / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.2971, allocations: 11.94 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2971, allocations: 4 kB / 1.245 GB, free: 5.016 MB / 0.9669 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.939e-05/0.2972, allocations: 117.8 kB / 1.245 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2972, allocations: 11.89 kB / 1.245 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.2972, allocations: 11.97 kB / 1.245 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2972, allocations: 0 / 1.245 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2972, allocations: 0 / 1.245 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2973, allocations: 0 / 1.245 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.2974, allocations: 185.6 kB / 1.246 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2974, allocations: 4 kB / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2976, allocations: 19.98 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2976, allocations: 3.938 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2976, allocations: 7.984 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2976, allocations: 3.938 kB / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2976, allocations: 0 / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.298, allocations: 141.7 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.298, allocations: 89.05 kB / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.2981, allocations: 7.922 kB / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.2981, allocations: 8 kB / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.2982, allocations: 7.984 kB / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2982, allocations: 7.984 kB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.2982, allocations: 75.28 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2982, allocations: 0 / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002143/0.2985, allocations: 23.94 kB / 1.246 GB, free: 4.203 MB / 0.9669 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.000749/0.2992, allocations: 0.7065 MB / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.2996, allocations: 83.88 kB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2996, allocations: 0 / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.2998, allocations: 51.95 kB / 1.247 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.2999, allocations: 5.875 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3004, allocations: 198.4 kB / 1.247 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3007, allocations: 0.6885 MB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.3009, allocations: 39.91 kB / 1.248 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.3009, allocations: 19.42 kB / 1.248 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3009, allocations: 0 / 1.248 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09986/0.4008, allocations: 2.029 MB / 1.25 GB, free: 404 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/8.944, allocations: 14.33 kB / 1.25 GB, free: 392 kB / 0.9669 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) 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) Reference file matches