Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.321/2.321, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.91 kB / 1.059 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2634, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001598/0.265, allocations: 0.5901 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.2653, allocations: 107.7 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.2653, allocations: 4 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2654, allocations: 0 / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.2654, allocations: 0 / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2657, allocations: 43.88 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2658, allocations: 59.94 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.2658, allocations: 4 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.111e-05/0.2658, allocations: 27.91 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2659, allocations: 23.91 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.2659, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.266, allocations: 55.94 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.2661, allocations: 15.98 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.2661, allocations: 23.91 kB / 1.217 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2662, allocations: 72.05 kB / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2662, allocations: 0 / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2662, allocations: 0 / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2663, allocations: 0 / 1.217 GB, free: 14.83 MB / 0.9669 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.0004931/0.2667, allocations: 379.3 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2668, allocations: 8.031 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.2668, allocations: 42.69 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.2669, allocations: 12.94 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.267, allocations: 168.3 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.2672, allocations: 277.6 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2672, allocations: 8.375 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2675, allocations: 77.95 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2675, allocations: 0 / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2675, allocations: 7.984 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2675, allocations: 4 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.2679, allocations: 131.8 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.2681, allocations: 181.6 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.2684, allocations: 94.55 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.2685, allocations: 36.84 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2685, allocations: 3.984 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2686, allocations: 42.5 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.2686, allocations: 0 / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005006/0.2691, allocations: 145.5 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2691, allocations: 55.41 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.2692, allocations: 89.86 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2692, allocations: 29.7 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.2692, allocations: 80.36 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2692, allocations: 35.69 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.2693, allocations: 33.62 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2694, allocations: 318.8 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2696, allocations: 31.97 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.2697, allocations: 40.34 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.2699, allocations: 72.83 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2699, allocations: 3.938 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003202/0.2703, allocations: 121.5 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2703, allocations: 11.94 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2703, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2703, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2704, allocations: 23.98 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2704, allocations: 8 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.2705, allocations: 7.922 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2705, allocations: 4 kB / 1.219 GB, free: 12 MB / 0.9669 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 9.448e-05/0.2706, allocations: 121.8 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.2706, allocations: 11.89 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.2707, allocations: 11.97 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2707, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2707, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2707, allocations: 8 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2708, allocations: 169.7 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2708, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.2709, allocations: 27.97 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2709, allocations: 3.938 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.2709, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.271, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.271, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.2713, allocations: 156.9 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.2713, allocations: 84.98 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2714, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.2714, allocations: 11.98 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.2715, allocations: 7.984 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.2715, allocations: 4 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.2715, allocations: 75.28 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2715, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000216/0.2717, allocations: 24 kB / 1.22 GB, free: 11.19 MB / 0.9669 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.0007175/0.2724, allocations: 0.7098 MB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.2728, allocations: 76.48 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2728, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2729, allocations: 48.11 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.273, allocations: 10.25 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.2735, allocations: 214.3 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2738, allocations: 0.6807 MB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.2739, allocations: 43.89 kB / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.274, allocations: 23.42 kB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.274, allocations: 0 / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.2977, allocations: 2.012 MB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.32, allocations: 3.984 kB / 1.223 GB, free: 7.367 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[6] from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[7] in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[7] from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[8] in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[8] from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[9] in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[9] from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[10] in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[10] from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.521347313006117]