Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.002103/0.002103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002377/0.002377, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.553/1.553, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.25 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3071, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002592/0.3097, allocations: 1.59 MB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004052/0.3101, allocations: 183.4 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.3102, allocations: 0 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.3102, allocations: 4 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.3103, allocations: 4 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.3105, allocations: 43.89 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.851e-05/0.3106, allocations: 39.91 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.28e-05/0.3107, allocations: 15.98 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.3108, allocations: 15.92 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.3108, allocations: 15.92 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3108, allocations: 8 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3109, allocations: 47.95 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3109, allocations: 11.92 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.311, allocations: 11.94 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3111, allocations: 63.84 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3111, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3111, allocations: 3.938 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3111, allocations: 0 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004291/0.3116, allocations: 359.7 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3116, allocations: 12.62 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.3116, allocations: 34.75 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.3117, allocations: 12.88 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3118, allocations: 172.2 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3118, allocations: 384 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.3118, allocations: 4.375 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.312, allocations: 62.22 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.312, allocations: 3.938 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.312, allocations: 3.984 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.312, allocations: 4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.3122, allocations: 47.94 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.3126, allocations: 284.7 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.3129, allocations: 58.55 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.313, allocations: 28.89 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.3132, allocations: 166.2 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3132, allocations: 30.56 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3132, allocations: 0 / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003508/0.3136, allocations: 105.5 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.3136, allocations: 51.41 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.3137, allocations: 109.8 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3137, allocations: 29.7 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.3138, allocations: 80.14 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.3138, allocations: 7.906 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.3138, allocations: 13.72 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3139, allocations: 326.8 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.314, allocations: 15.98 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.3141, allocations: 23.97 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3143, allocations: 44.83 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3143, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002016/0.3145, allocations: 81.58 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3145, allocations: 9.094 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3145, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.3145, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.3146, allocations: 11.98 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3146, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.3147, allocations: 11.84 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3147, allocations: 3.984 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.721e-05/0.3148, allocations: 115.3 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.3148, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.315, allocations: 93.42 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.315, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3151, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3151, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3152, allocations: 170 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3152, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.3153, allocations: 15.98 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3153, allocations: 4 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.3153, allocations: 4 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3153, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3153, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.3156, allocations: 183.3 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.3156, allocations: 77.11 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3156, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.3157, allocations: 11.98 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3158, allocations: 11.98 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3158, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.3158, allocations: 87.28 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3158, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002353/0.3161, allocations: 15.94 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005526/0.3166, allocations: 0.732 MB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.3169, allocations: 47.89 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3169, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.317, allocations: 27.97 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3173, allocations: 8.547 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3186, allocations: 1.301 MB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3189, allocations: 0.6846 MB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.3189, allocations: 8 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.319, allocations: 19.42 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.319, allocations: 0 / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.634/2.953, allocations: 1.748 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/2.953, allocations: 196.6 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/5.142, allocations: 1 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches