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.0008767/0.0008767, 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.0009292/0.0009292, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8863/0.8863, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.64/1.64, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.445e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001908/0.001932, allocations: 1.562 MB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003902/0.002322, allocations: 175.5 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.002358, allocations: 0 / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.002388, allocations: 7.922 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.002433, allocations: 0 / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.002805, allocations: 59.75 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.002879, allocations: 39.86 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.002985, allocations: 11.98 kB / 0.9523 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.00303, allocations: 23.97 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.003071, allocations: 11.92 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.003088, allocations: 4 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.003204, allocations: 51.94 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.003215, allocations: 4 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.003236, allocations: 15.97 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.003387, allocations: 75.78 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003389, allocations: 0 / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.854e-06/0.003391, allocations: 4 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003396, allocations: 0 / 0.9525 GB, free: 1.441 MB / 0.9011 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.0003861/0.003782, allocations: 282.2 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.003824, allocations: 8.031 kB / 0.9528 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.003859, allocations: 42.69 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.003883, allocations: 0.9375 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.747e-05/0.003971, allocations: 113.7 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.003995, allocations: 4.312 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.004005, allocations: 4.375 kB / 0.9529 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.004162, allocations: 66.83 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.00417, allocations: 192 / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.004181, allocations: 4.375 kB / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.004188, allocations: 8.125 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.004298, allocations: 39.95 kB / 0.953 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.004615, allocations: 243.9 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.004826, allocations: 62.47 kB / 0.9533 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.004883, allocations: 28.91 kB / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.005005, allocations: 15.97 kB / 0.9534 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.005022, allocations: 30.56 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.005023, allocations: 0 / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002395/0.005262, allocations: 97.53 kB / 0.9535 GB, free: 276 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.005289, allocations: 55.41 kB / 0.9535 GB, free: 208 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.005347, allocations: 105.8 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.005357, allocations: 33.7 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.005406, allocations: 88.12 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.00542, allocations: 3.953 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.00545, allocations: 17.72 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.005522, allocations: 314.8 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.005573, allocations: 19.98 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.005615, allocations: 19.98 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.005704, allocations: 49.09 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.005707, allocations: 4 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001201/0.005827, allocations: 85.47 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.005843, allocations: 10.34 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.00585, allocations: 7.984 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005861, allocations: 0 / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.005909, allocations: 8 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.005915, allocations: 3.984 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.005942, allocations: 8 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.005947, allocations: 0 / 0.9543 GB, free: 15.4 MB / 0.9167 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 6.088e-05/0.006008, allocations: 113.8 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.006024, allocations: 7.922 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.006188, allocations: 89.58 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.00619, allocations: 0 / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.006194, allocations: 0 / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006197, allocations: 0 / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.006309, allocations: 140.6 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006311, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.006344, allocations: 11.98 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006346, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.006354, allocations: 8 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006356, allocations: 0 / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006357, allocations: 320 / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.006501, allocations: 175.4 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.00651, allocations: 4 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006521, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.006563, allocations: 7.984 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.006605, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.006609, allocations: 7.938 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.006639, allocations: 87.25 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006639, allocations: 0 / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001884/0.006828, allocations: 23.94 kB / 0.9549 GB, free: 14.64 MB / 0.9167 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.0004034/0.007231, allocations: 0.7241 MB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.007366, allocations: 51.89 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.007368, allocations: 0 / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.007417, allocations: 23.97 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.007648, allocations: 4 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/0.008589, allocations: 1.305 MB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.008631, allocations: 63.34 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.008657, allocations: 8.109 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.008693, allocations: 16.5 kB / 0.9571 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of SimCode: time 4.21e-07/0.008693, allocations: 0 / 0.9571 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.02623, allocations: 2.609 MB / 0.9596 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.913, allocations: 13.66 kB / 0.9596 GB, free: 9.84 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bin.y in file Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.csv. Warning: Get data of variable bin.y from file Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.926013638265431]