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.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.0008168/0.0008168, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008164/0.0008164, 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.9355/0.9355, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.73/1.73, 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.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 1.633e-06/1.633e-06, allocations: 0 / 0.9505 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.136e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001225/0.001246, allocations: 0.5863 MB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.001576, allocations: 107.6 kB / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.001598, allocations: 0 / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.001628, allocations: 0 / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.001635, allocations: 7.938 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.002045, allocations: 35.89 kB / 0.9513 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.002167, allocations: 63.92 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.002216, allocations: 7.984 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.002263, allocations: 27.97 kB / 0.9514 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.002307, allocations: 23.95 kB / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.002325, allocations: 4 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.00245, allocations: 51.89 kB / 0.9514 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.00249, allocations: 27.89 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.002515, allocations: 11.97 kB / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.002671, allocations: 91.75 kB / 0.9516 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002674, allocations: 0 / 0.9516 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.673e-06/0.002675, allocations: 0 / 0.9516 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.00268, allocations: 3.938 kB / 0.9516 GB, free: 2.387 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004141/0.003094, allocations: 300.2 kB / 0.9519 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.003139, allocations: 12.03 kB / 0.9519 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.003184, allocations: 42.75 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.00322, allocations: 8.922 kB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.132e-05/0.003281, allocations: 105.7 kB / 0.952 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.003553, allocations: 0.5299 MB / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.003565, allocations: 4.375 kB / 0.9525 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.003736, allocations: 86.14 kB / 0.9526 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.003745, allocations: 192 / 0.9526 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.003757, allocations: 384 / 0.9526 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.003764, allocations: 3.938 kB / 0.9526 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.00397, allocations: 131.8 kB / 0.9528 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.004115, allocations: 148.6 kB / 0.9529 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.004295, allocations: 90.47 kB / 0.953 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.583e-05/0.004371, allocations: 44.77 kB / 0.953 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.004393, allocations: 0 / 0.953 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.004414, allocations: 34.56 kB / 0.9531 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.004415, allocations: 4 kB / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0003397/0.004755, allocations: 149.8 kB / 0.9532 GB, free: 464 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.004789, allocations: 55.41 kB / 0.9533 GB, free: 396 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.045e-05/0.00482, allocations: 89.86 kB / 0.9533 GB, free: 296 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.004833, allocations: 29.69 kB / 0.9534 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.004853, allocations: 80.14 kB / 0.9534 GB, free: 176 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.004902, allocations: 35.7 kB / 0.9535 GB, free: 140 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.004941, allocations: 25.7 kB / 0.9535 GB, free: 108 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.005036, allocations: 322.8 kB / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.005121, allocations: 31.92 kB / 0.9538 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.005189, allocations: 35.97 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.005339, allocations: 72.81 kB / 0.9539 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.005342, allocations: 0 / 0.9539 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001882/0.00553, allocations: 113.5 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.005547, allocations: 8 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.005553, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.005568, allocations: 7.922 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.005669, allocations: 23.92 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.005677, allocations: 4 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.005712, allocations: 19.94 kB / 0.9541 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.005723, allocations: 3.984 kB / 0.9541 GB, free: 15.46 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: 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 6.752e-05/0.005791, allocations: 117.8 kB / 0.9542 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.0058, allocations: 7.953 kB / 0.9542 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.005835, allocations: 11.95 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.005839, allocations: 3.938 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.005844, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005847, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.661e-05/0.005943, allocations: 140.7 kB / 0.9544 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005945, allocations: 0 / 0.9544 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.006008, allocations: 35.97 kB / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.006011, allocations: 3.938 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.006022, allocations: 3.984 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.006026, allocations: 7.938 kB / 0.9544 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006027, allocations: 0 / 0.9544 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.006249, allocations: 141.7 kB / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.006258, allocations: 8 kB / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.006271, allocations: 0 / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.006301, allocations: 7.938 kB / 0.9546 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.006356, allocations: 15.97 kB / 0.9546 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.006363, allocations: 8 kB / 0.9546 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.006385, allocations: 75.28 kB / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006385, allocations: 0 / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001791/0.006564, allocations: 27.92 kB / 0.9547 GB, free: 14.77 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: 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.000512/0.007076, allocations: 0.6944 MB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.00729, allocations: 87.81 kB / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007292, allocations: 0 / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.007371, allocations: 47.95 kB / 0.9555 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.007485, allocations: 7.938 kB / 0.9555 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.00792, allocations: 201.7 kB / 0.9557 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.007987, allocations: 75.19 kB / 0.9558 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.008147, allocations: 35.95 kB / 0.9558 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.008196, allocations: 24.48 kB / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.008197, allocations: 0 / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.02754, allocations: 2.661 MB / 0.9585 GB, free: 11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/6.718, allocations: 12.09 kB / 0.9585 GB, free: 10.99 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bin[6] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[6] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[7] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[7] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[8] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[8] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[9] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[9] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[10] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[10] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.924651611596346]