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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9301/0.9301, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.866/1.866, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.871e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001091/0.00111, allocations: 0.5826 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.001405, allocations: 99.66 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.001427, allocations: 7.875 kB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.001456, allocations: 3.984 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.001463, allocations: 0 / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.001786, allocations: 39.83 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.001887, allocations: 63.92 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.001922, allocations: 8 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.001967, allocations: 39.89 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.002001, allocations: 23.95 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.002017, allocations: 4 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.002122, allocations: 51.88 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.002154, allocations: 15.98 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.002178, allocations: 19.91 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.002307, allocations: 83.86 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.002309, allocations: 0 / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.00231, allocations: 0 / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002314, allocations: 4 kB / 1.001 GB, free: 12.39 MB / 0.9636 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.0003539/0.002668, allocations: 298.2 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.002702, allocations: 16.69 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.002732, allocations: 38.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.002762, allocations: 12.89 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.198e-05/0.002814, allocations: 101.8 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.003043, allocations: 0.5299 MB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.003054, allocations: 4.375 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.003209, allocations: 86.12 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003216, allocations: 192 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.003225, allocations: 384 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.003232, allocations: 11.94 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.003426, allocations: 123.8 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.00356, allocations: 144.7 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.003728, allocations: 90.52 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.003807, allocations: 41.16 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.003827, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.003844, allocations: 42.44 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 7.01e-07/0.003845, allocations: 0 / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0003181/0.004163, allocations: 149.5 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.004189, allocations: 59.41 kB / 1.002 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.587e-05/0.004215, allocations: 89.86 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.004225, allocations: 25.7 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.004244, allocations: 80.14 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.004283, allocations: 39.62 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.004321, allocations: 29.7 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.004398, allocations: 314.8 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.004474, allocations: 39.91 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.004541, allocations: 31.97 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.004688, allocations: 81.41 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00469, allocations: 4 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001775/0.004867, allocations: 113.5 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.004879, allocations: 8 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.004884, allocations: 0 / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004896, allocations: 3.938 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.004989, allocations: 23.97 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.004994, allocations: 7.938 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.005023, allocations: 7.953 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.005032, allocations: 0 / 1.003 GB, free: 9.461 MB / 0.9636 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.828e-05/0.00509, allocations: 125.8 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.005097, allocations: 0 / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.005126, allocations: 11.97 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001451/0.005271, allocations: 7.938 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.005275, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005278, allocations: 0 / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.522e-05/0.005363, allocations: 152.6 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005365, allocations: 4 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.005423, allocations: 19.98 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005424, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.005433, allocations: 7.984 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.005435, allocations: 11.94 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.005436, allocations: 3.938 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.005622, allocations: 133 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.005629, allocations: 7.953 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.005641, allocations: 7.984 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.56e-05/0.005666, allocations: 7.938 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.00571, allocations: 7.984 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.005716, allocations: 7.984 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.977e-05/0.005736, allocations: 79.28 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005736, allocations: 0 / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001585/0.005895, allocations: 23.94 kB / 1.004 GB, free: 8.777 MB / 0.9636 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.0004312/0.006326, allocations: 0.6982 MB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.006515, allocations: 79.94 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006516, allocations: 3.938 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.00659, allocations: 39.97 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.006697, allocations: 11.88 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.007053, allocations: 202.5 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.007097, allocations: 68.16 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.888e-05/0.007196, allocations: 43.89 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.007237, allocations: 24.48 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.007238, allocations: 0 / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.02496, allocations: 2.659 MB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.791, allocations: 10.09 kB / 1.008 GB, free: 5.004 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=0.00636 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.018315613269806]