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.00087/0.00087, 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.0009109/0.0009109, allocations: 169.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.8792/0.8792, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.801/1.801, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.092e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002246/0.002267, allocations: 1.554 MB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005385/0.002805, allocations: 183.2 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.002839, allocations: 0 / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.002868, allocations: 3.938 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.002909, allocations: 11.91 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.003233, allocations: 47.83 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.0033, allocations: 43.84 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.003388, allocations: 8 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.003424, allocations: 15.98 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.003462, allocations: 23.95 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.003476, allocations: 4 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.003591, allocations: 51.94 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.003604, allocations: 7.938 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.003622, allocations: 4 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.003762, allocations: 79.75 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003765, allocations: 0 / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003765, allocations: 0 / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003769, allocations: 4 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 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.0003544/0.004124, allocations: 286.2 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.00416, allocations: 12.03 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.004187, allocations: 30.75 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.00421, allocations: 8.938 kB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.184e-05/0.004282, allocations: 109.7 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.0043, allocations: 4.375 kB / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.004308, allocations: 384 / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.004456, allocations: 66.22 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.004463, allocations: 4.172 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.004472, allocations: 384 / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004478, allocations: 4.125 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.004589, allocations: 47.95 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.004891, allocations: 247.8 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.005095, allocations: 62.47 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.005147, allocations: 28.84 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.005261, allocations: 11.98 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.005277, allocations: 34.55 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005278, allocations: 4 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002383/0.005516, allocations: 97.53 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.005541, allocations: 51.41 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.005599, allocations: 109.8 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.00561, allocations: 25.7 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.005647, allocations: 88.12 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.005658, allocations: 7.953 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.005684, allocations: 17.72 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.005756, allocations: 314.8 kB / 0.9845 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.005805, allocations: 23.97 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.005847, allocations: 19.98 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.922e-05/0.005936, allocations: 44.75 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005938, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001156/0.006053, allocations: 81.55 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.006065, allocations: 8 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.006069, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.00608, allocations: 7.984 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.21e-05/0.006122, allocations: 4 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.006127, allocations: 4.312 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.006154, allocations: 7.984 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.00616, allocations: 8 kB / 0.9847 GB, free: 14.47 MB / 0.948 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 5.519e-05/0.006215, allocations: 109.8 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.006228, allocations: 3.938 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.006381, allocations: 97.56 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006383, allocations: 384 / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006387, allocations: 0 / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.00639, allocations: 0 / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.006505, allocations: 140.7 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006506, allocations: 0 / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.00654, allocations: 15.92 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006543, allocations: 3.984 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.00655, allocations: 4 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.006552, allocations: 4 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006554, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.006698, allocations: 175.4 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.006706, allocations: 0 / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.006718, allocations: 8 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.006759, allocations: 3.984 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.006797, allocations: 4 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.0068, allocations: 3.938 kB / 0.9853 GB, free: 13.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.006832, allocations: 99.25 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006832, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001684/0.007001, allocations: 15.94 kB / 0.9854 GB, free: 13.72 MB / 0.948 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.0003898/0.00739, allocations: 0.7241 MB / 0.9861 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.007528, allocations: 51.89 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007529, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/0.007579, allocations: 23.98 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.007787, allocations: 10.8 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/0.008706, allocations: 1.296 MB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.008749, allocations: 67.34 kB / 0.9875 GB, free: 11.42 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.008774, allocations: 7.984 kB / 0.9875 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.008808, allocations: 16.44 kB / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.008809, allocations: 0 / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.02677, allocations: 2.628 MB / 0.9901 GB, free: 8.906 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.032, allocations: 4.062 kB / 0.9901 GB, free: 8.902 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.Binomial_res.csv. Warning: Get data of variable bin.y from file Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.165253908373415]