Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001182/0.001182, 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.00127/0.00127, allocations: 169.9 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.9041/0.9041, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.83/1.83, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.695e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002249/0.002276, allocations: 1.543 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.00267, allocations: 184 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.002714, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.002749, allocations: 7.984 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.002794, allocations: 3.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.003216, allocations: 55.75 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.003299, allocations: 35.86 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.003414, allocations: 15.97 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.003457, allocations: 19.98 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.003501, allocations: 11.98 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.003528, allocations: 4 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.003654, allocations: 47.94 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.003666, allocations: 7.938 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.003689, allocations: 19.97 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.003871, allocations: 75.78 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.003874, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.863e-06/0.003875, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.003881, allocations: 3.938 kB / 1.002 GB, free: 11.48 MB / 0.9636 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.0004217/0.004303, allocations: 282.2 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.004346, allocations: 8.75 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.004378, allocations: 30.75 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.004404, allocations: 8.891 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.38e-05/0.004487, allocations: 113.8 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.004509, allocations: 8.375 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.00452, allocations: 8.375 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.004673, allocations: 58.23 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004681, allocations: 4.125 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.004689, allocations: 384 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.004696, allocations: 8.125 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.004802, allocations: 47.89 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.005146, allocations: 239.9 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.005375, allocations: 66.47 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.005427, allocations: 28.89 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.005556, allocations: 15.98 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.005574, allocations: 34.5 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.005575, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002459/0.005821, allocations: 89.64 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.00585, allocations: 59.39 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.005915, allocations: 113.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.005926, allocations: 25.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.005971, allocations: 92.09 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.005984, allocations: 3.953 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.006013, allocations: 13.72 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.006093, allocations: 318.8 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.006144, allocations: 19.98 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.006188, allocations: 27.91 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.785e-05/0.006276, allocations: 40.83 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006278, allocations: 3.938 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001237/0.006401, allocations: 81.58 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.006416, allocations: 8 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006421, allocations: 0 / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.006434, allocations: 0 / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.006485, allocations: 15.98 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.00649, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.006518, allocations: 4 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.006523, allocations: 0 / 1.003 GB, free: 9.438 MB / 0.9636 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.294e-05/0.006586, allocations: 121.8 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.006603, allocations: 7.891 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.00677, allocations: 81.97 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.006773, allocations: 4.031 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.006778, allocations: 7.938 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006781, allocations: 0 / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.006907, allocations: 136.7 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006908, allocations: 0 / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.006943, allocations: 11.98 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006945, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.006952, allocations: 4 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006953, allocations: 0 / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.006955, allocations: 4 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.00713, allocations: 179.4 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.007141, allocations: 7.953 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.007151, allocations: 0 / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.007191, allocations: 7.984 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.007234, allocations: 7.984 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.007239, allocations: 4 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.007271, allocations: 83.28 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007271, allocations: 0 / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001835/0.007455, allocations: 19.94 kB / 1.004 GB, free: 8.68 MB / 0.9636 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.0004718/0.007926, allocations: 0.728 MB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.008067, allocations: 39.95 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.00807, allocations: 8 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.008118, allocations: 19.97 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.008355, allocations: 8 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.009304, allocations: 1.311 MB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.009345, allocations: 63.34 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.009371, allocations: 4 kB / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.009409, allocations: 16.5 kB / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.009409, allocations: 0 / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.03001, allocations: 2.622 MB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.955, allocations: 8.062 kB / 1.009 GB, free: 3.859 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.Binomial_res.csv. Warning: Get data of variable bin.y from file Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.236480569466949]