Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001677/0.001677, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002244/0.002244, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.395/3.395, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_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.002093/0.002093, allocations: 64.41 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4362, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003029/0.4393, allocations: 1.552 MB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005207/0.4398, allocations: 175.4 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.4398, allocations: 0 / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.4398, allocations: 7.938 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.4399, allocations: 7.984 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.4403, allocations: 51.83 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.4404, allocations: 35.91 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4405, allocations: 12.27 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.4405, allocations: 15.94 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.4406, allocations: 15.92 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.4406, allocations: 4 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.4407, allocations: 55.92 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.4407, allocations: 7.938 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.4407, allocations: 15.94 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.4409, allocations: 71.7 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4409, allocations: 0 / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4409, allocations: 0 / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4409, allocations: 0 / 1.327 GB, free: 348 kB / 1.014 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.000518/0.4415, allocations: 286.2 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4415, allocations: 12.03 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.4416, allocations: 34.75 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.4416, allocations: 8.891 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.4417, allocations: 106.5 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4417, allocations: 12.38 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.4417, allocations: 384 / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.442, allocations: 74.14 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.442, allocations: 3.938 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.442, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.442, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.4422, allocations: 43.95 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.4426, allocations: 243.9 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.443, allocations: 58.47 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.4431, allocations: 24.91 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.4432, allocations: 15.98 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4433, allocations: 38.5 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4433, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004177/0.4437, allocations: 97.56 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4437, allocations: 55.41 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.4438, allocations: 113.8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4439, allocations: 25.7 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.4439, allocations: 84.14 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.4439, allocations: 11.94 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.444, allocations: 17.72 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4441, allocations: 314.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.4442, allocations: 23.97 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.4443, allocations: 15.98 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.4445, allocations: 48.81 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4445, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002193/0.4447, allocations: 77.59 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4447, allocations: 4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4447, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4447, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.4448, allocations: 15.98 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4448, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.4449, allocations: 11.92 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4449, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 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.0001079/0.445, allocations: 114.3 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.445, allocations: 7.953 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.4453, allocations: 81.58 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4453, allocations: 4.375 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4453, allocations: 7.984 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4453, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.4455, allocations: 144.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4455, allocations: 4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-05/0.4456, allocations: 15.97 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4456, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.4456, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4456, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4456, allocations: 3.938 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.4459, allocations: 183.4 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.4459, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.4459, allocations: 4 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.446, allocations: 4 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.4461, allocations: 11.92 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4461, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.4461, allocations: 91.27 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4461, allocations: 0 / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002415/0.4464, allocations: 12 kB / 1.33 GB, free: 13.54 MB / 1.029 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.0006871/0.4471, allocations: 0.7241 MB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.4473, allocations: 51.89 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4473, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/0.4474, allocations: 19.98 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.4477, allocations: 10.02 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4493, allocations: 1.296 MB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.149e-05/0.4494, allocations: 63.34 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.4494, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.4495, allocations: 23.42 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of SimCode: time 6.42e-07/0.4495, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.4824, allocations: 2.473 MB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.57, allocations: 9.719 kB / 1.334 GB, free: 8.875 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.90544432355091]