Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_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.007296/0.007296, allocations: 99.55 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.001724/0.001724, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.275/1.275, 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 9.1.3-maint.9.1.x/package.mo): time 2.038/2.038, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 67.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6222, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001262/0.6235, allocations: 0.59 MB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.6238, allocations: 106.8 kB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.6238, allocations: 0 / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.6239, allocations: 0 / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.6239, allocations: 0 / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.6242, allocations: 39.42 kB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.898e-05/0.6243, allocations: 68.41 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.6243, allocations: 1.891 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.6243, allocations: 22.5 kB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.6244, allocations: 28.34 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.6244, allocations: 7.125 kB / 1.088 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.6245, allocations: 45.42 kB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.6245, allocations: 21.75 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.6246, allocations: 18.86 kB / 1.088 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.6247, allocations: 68.64 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6247, allocations: 0.6094 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6247, allocations: 0 / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.6247, allocations: 4 kB / 1.088 GB, free: 4.738 MB / 0.8575 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.000356/0.6251, allocations: 370.7 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.6251, allocations: 17.12 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.605e-05/0.6252, allocations: 43.41 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.6252, allocations: 10.53 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.094e-05/0.6252, allocations: 165.1 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.6254, allocations: 280 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.6254, allocations: 3.812 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.6256, allocations: 88.81 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6257, allocations: 0 / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6257, allocations: 1.125 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6257, allocations: 1.094 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.626, allocations: 141.2 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.6261, allocations: 175.5 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.6264, allocations: 97.47 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.6265, allocations: 42.59 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.6266, allocations: 9.5 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.106e-05/0.6266, allocations: 47.95 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.6266, allocations: 1.062 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004688/0.627, allocations: 147 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.6271, allocations: 53.58 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.353e-05/0.6271, allocations: 89.86 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.6271, allocations: 30.7 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-06/0.6271, allocations: 84.14 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.6272, allocations: 35.78 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.6272, allocations: 27.02 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.196e-05/0.6272, allocations: 317.2 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6274, allocations: 34.45 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.6275, allocations: 33.14 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.6277, allocations: 74.36 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6277, allocations: 0 / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002906/0.628, allocations: 121.7 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.6281, allocations: 8.5 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.6281, allocations: 1.828 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.6281, allocations: 0 / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.6282, allocations: 23.86 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6282, allocations: 0.7031 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.6283, allocations: 9.031 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.6283, allocations: 4.688 kB / 1.091 GB, free: 2.594 MB / 0.8575 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 5.073e-05/0.6284, allocations: 125 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.6284, allocations: 5.719 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.6284, allocations: 8.578 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6284, allocations: 2.219 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6284, allocations: 0 / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6284, allocations: 1.125 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.598e-05/0.6285, allocations: 188.1 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.6285, allocations: 1 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.6286, allocations: 27.88 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6286, allocations: 5 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.6287, allocations: 7.078 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6287, allocations: 0.9062 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6287, allocations: 0 / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.629, allocations: 144.3 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.629, allocations: 87.73 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.629, allocations: 1 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.6291, allocations: 13.22 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.6291, allocations: 9.422 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.6291, allocations: 8.828 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.516e-06/0.6292, allocations: 75.94 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6292, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002033/0.6294, allocations: 21.7 kB / 1.092 GB, free: 1.949 MB / 0.8575 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.0005604/0.6299, allocations: 0.7005 MB / 1.092 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.6303, allocations: 88.83 kB / 1.092 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.6303, allocations: 0.7812 kB / 1.092 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6304, allocations: 51 kB / 1.092 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.6305, allocations: 2.656 kB / 1.092 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.631, allocations: 204.4 kB / 1.093 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.6312, allocations: 0.6847 MB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.6313, allocations: 38.17 kB / 1.093 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.6314, allocations: 24.91 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.6314, allocations: 0 / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.226/1.857, allocations: 2.023 MB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11.91, allocations: 1.625 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches