Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001787/0.001787, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002299/0.002299, allocations: 209.6 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.976/2.976, allocations: 476.8 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 69.66 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003498/0.3658, allocations: 1.574 MB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005754/0.3664, allocations: 179.5 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3664, allocations: 0 / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.3665, allocations: 3.938 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.3665, allocations: 3.938 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.3669, allocations: 51.88 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.509e-05/0.367, allocations: 43.8 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3671, allocations: 11.98 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.3672, allocations: 15.98 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.3672, allocations: 23.92 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3672, allocations: 4 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.3674, allocations: 55.94 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.3674, allocations: 11.92 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3675, allocations: 15.94 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3676, allocations: 67.3 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3676, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3676, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3677, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 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.0005849/0.3682, allocations: 286.2 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3683, allocations: 8.031 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.3683, allocations: 38.69 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3684, allocations: 4.891 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3685, allocations: 114.5 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3685, allocations: 384 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3685, allocations: 4.375 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.3688, allocations: 62.22 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3688, allocations: 3.938 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3688, allocations: 4 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3688, allocations: 4 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.369, allocations: 43.95 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.3694, allocations: 251.8 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.3698, allocations: 62.53 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3699, allocations: 24.91 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.3701, allocations: 15.98 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3701, allocations: 38.48 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.3701, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004098/0.3705, allocations: 97.62 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3705, allocations: 51.41 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3707, allocations: 109.8 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3707, allocations: 29.7 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.3707, allocations: 92.02 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3708, allocations: 9.734 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.3708, allocations: 17.72 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.371, allocations: 318.8 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.3711, allocations: 19.97 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.3711, allocations: 19.98 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3713, allocations: 52.75 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3713, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002232/0.3715, allocations: 77.59 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3716, allocations: 8 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3716, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3716, allocations: 3.984 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.3717, allocations: 8 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3717, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.3717, allocations: 7.984 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3717, allocations: 0 / 1.287 GB, free: 7.625 MB / 0.9825 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 0.0001072/0.3718, allocations: 117.7 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.3719, allocations: 11.95 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.3722, allocations: 89.56 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3722, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3722, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3722, allocations: 4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3724, allocations: 144.7 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3724, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.3724, allocations: 11.98 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3724, allocations: 4 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3724, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3724, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3724, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3727, allocations: 175.4 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3728, allocations: 7.953 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3728, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.3729, allocations: 12 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.3729, allocations: 3.984 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.3729, allocations: 4.422 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.373, allocations: 91.2 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.373, allocations: 0 / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002732/0.3733, allocations: 16 kB / 1.288 GB, free: 6.867 MB / 0.9825 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.0007145/0.374, allocations: 0.7319 MB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3742, allocations: 47.95 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3742, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.3743, allocations: 19.98 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3747, allocations: 14.33 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3763, allocations: 1.292 MB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3767, allocations: 0.6807 MB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.3767, allocations: 8 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.3767, allocations: 15.42 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3767, allocations: 0 / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.4084, allocations: 2.049 MB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.45, allocations: 6.203 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 18.537591431988403]