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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.91 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.766, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00143/0.7675, allocations: 0.6022 MB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.7678, allocations: 103.1 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.7678, allocations: 0.8438 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.7678, allocations: 0 / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.7678, allocations: 4.781 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.7681, allocations: 42.41 kB / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.7682, allocations: 65.8 kB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.7683, allocations: 1.5 kB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.7683, allocations: 27.58 kB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.7683, allocations: 20.75 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.7684, allocations: 3 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.7685, allocations: 50.36 kB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.7685, allocations: 19.59 kB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.7686, allocations: 30.86 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.7687, allocations: 70.33 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7687, allocations: 1.031 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7687, allocations: 0 / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7687, allocations: 4 kB / 1.272 GB, free: 7.145 MB / 0.9981 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.0003962/0.7691, allocations: 379.3 kB / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7691, allocations: 10.09 kB / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.7692, allocations: 39.16 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.7692, allocations: 14.08 kB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.345e-05/0.7692, allocations: 163.6 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.7694, allocations: 276.8 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.7694, allocations: 11.66 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.7697, allocations: 83.59 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7697, allocations: 0 / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7697, allocations: 8.656 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.7697, allocations: 1.562 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.77, allocations: 135.6 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.7701, allocations: 177.8 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.7704, allocations: 89.58 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.7705, allocations: 40.3 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.7705, allocations: 17.56 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.7706, allocations: 36.12 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.7706, allocations: 0 / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.00047/0.771, allocations: 143.6 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.7711, allocations: 53.19 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.475e-05/0.7711, allocations: 94.42 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.7711, allocations: 30.45 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-06/0.7711, allocations: 84.14 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.7711, allocations: 38.52 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.7712, allocations: 28.59 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.29e-05/0.7712, allocations: 318.1 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.7713, allocations: 30.86 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.7714, allocations: 32.45 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.7717, allocations: 78.08 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7717, allocations: 0.8125 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002848/0.7719, allocations: 113.1 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.772, allocations: 10.91 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.772, allocations: 0.9062 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.772, allocations: 2 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.7721, allocations: 35.55 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.7721, allocations: 0.9688 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.7722, allocations: 8.141 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.7722, allocations: 6.062 kB / 1.275 GB, free: 4.996 MB / 0.9981 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 4.851e-05/0.7722, allocations: 119.4 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.7722, allocations: 5.906 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.7723, allocations: 13.09 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7723, allocations: 0.9375 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.7723, allocations: 0.7969 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7723, allocations: 2.078 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.016e-05/0.7724, allocations: 180.2 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7724, allocations: 0 / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.7725, allocations: 26.81 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7725, allocations: 4.969 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.7725, allocations: 13.81 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7725, allocations: 0 / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7725, allocations: 0.9375 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.7728, allocations: 142.8 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.7728, allocations: 83.89 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.7728, allocations: 1 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.7729, allocations: 9.188 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.7729, allocations: 9.969 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.7729, allocations: 8.391 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.348e-06/0.7729, allocations: 75.28 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7729, allocations: 0.9062 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002054/0.7731, allocations: 25.62 kB / 1.276 GB, free: 4.359 MB / 0.9981 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.0005091/0.7737, allocations: 0.7048 MB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.774, allocations: 88.47 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.774, allocations: 0 / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.7741, allocations: 39.5 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.7742, allocations: 5.938 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.7747, allocations: 210.1 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.724e-05/0.7748, allocations: 0.6826 MB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.7749, allocations: 40.45 kB / 1.277 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.7749, allocations: 25.53 kB / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.7749, allocations: 0 / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.7977, allocations: 2.01 MB / 1.279 GB, free: 18.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/7.759, allocations: 9.75 kB / 1.279 GB, free: 18.4 MB / 1.014 GB " [Timeout remaining time 292] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bin[1],bin[2],bin[3],bin[4],bin[5],bin[6],bin[7],bin[8],bin[9],bin[10] Variables in the result:bin[10],bin[1],bin[2],bin[3],bin[4],bin[5],bin[6],bin[7],bin[8],bin[9],n,time [Calling sys.exit(0), Time elapsed: 12.991677007999897]