Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_9_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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 67.84 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.6051, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002028/0.6071, allocations: 1.515 MB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003438/0.6075, allocations: 188.8 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.6075, allocations: 1.781 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.6075, allocations: 3.938 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.6076, allocations: 3.938 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.6078, allocations: 47.11 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.6079, allocations: 42.52 kB / 0.9515 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.608, allocations: 11.12 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.608, allocations: 17.27 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.6081, allocations: 20.11 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.6081, allocations: 3.781 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.6082, allocations: 51.67 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.6082, allocations: 8.734 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.6082, allocations: 15.44 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.6083, allocations: 65.53 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.6084, allocations: 1.188 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6084, allocations: 0 / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6084, allocations: 0 / 0.9517 GB, free: 7.574 MB / 0.7169 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.000326/0.6087, allocations: 357.1 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.6087, allocations: 10.25 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.15e-05/0.6088, allocations: 36 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.6088, allocations: 6.375 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.443e-05/0.6089, allocations: 170.8 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6089, allocations: 1.656 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.6089, allocations: 2.594 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.6091, allocations: 68.11 kB / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6091, allocations: 3.938 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.6091, allocations: 4 kB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.6091, allocations: 1.531 kB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.6093, allocations: 51.34 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.6095, allocations: 275.9 kB / 0.9526 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.6098, allocations: 65.72 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.6099, allocations: 28.73 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.61, allocations: 164.7 kB / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.119e-05/0.6101, allocations: 35.75 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6101, allocations: 3.938 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003284/0.6104, allocations: 95.56 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.386e-05/0.6104, allocations: 51.41 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.6105, allocations: 115.7 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.6105, allocations: 25.7 kB / 0.9532 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.062e-05/0.6105, allocations: 90.55 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.6105, allocations: 9.188 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.6106, allocations: 17.12 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.6106, allocations: 328.3 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.6107, allocations: 18.45 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.6108, allocations: 19.09 kB / 0.9536 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.6109, allocations: 42.58 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6109, allocations: 0 / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001876/0.6111, allocations: 81.58 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.6111, allocations: 4.156 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6112, allocations: 1.125 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6112, allocations: 0 / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.6112, allocations: 15.55 kB / 0.9538 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.6113, allocations: 1.406 kB / 0.9538 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.6113, allocations: 7.062 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.6113, allocations: 5.359 kB / 0.9538 GB, free: 5.418 MB / 0.7169 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 4.235e-05/0.6114, allocations: 119.5 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.6114, allocations: 6.688 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.6116, allocations: 78.92 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6116, allocations: 1.094 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6117, allocations: 0 / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.6117, allocations: 1.062 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.6118, allocations: 172.7 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6118, allocations: 1.156 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.6119, allocations: 15.45 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6119, allocations: 0 / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.6119, allocations: 8.906 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6119, allocations: 0.9375 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6119, allocations: 384 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.6121, allocations: 179.8 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.6121, allocations: 86.08 kB / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6121, allocations: 5.219 kB / 0.9544 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.6122, allocations: 7.547 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.6123, allocations: 2.5 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.6123, allocations: 5.266 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.6123, allocations: 85.62 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6123, allocations: 0 / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.6125, allocations: 17.59 kB / 0.9545 GB, free: 4.641 MB / 0.7169 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.000383/0.6129, allocations: 0.7259 MB / 0.9552 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.6131, allocations: 45.55 kB / 0.9553 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6131, allocations: 7.938 kB / 0.9553 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.6132, allocations: 30.5 kB / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.6135, allocations: 3.031 kB / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.6144, allocations: 1.278 MB / 0.9566 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.6145, allocations: 0.6872 MB / 0.9572 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.6146, allocations: 2.406 kB / 0.9572 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.6146, allocations: 19.08 kB / 0.9573 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6146, allocations: 0 / 0.9573 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.572/2.187, allocations: 1.9 MB / 0.9591 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/13.52, allocations: 5.406 kB / 0.9591 GB, free: 0.875 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches