Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009285/0.0009285, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001436/0.001436, allocations: 177.2 kB / 23.24 MB, free: 1.324 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.8698/0.8698, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.852/1.852, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.48e-05, allocations: 2.281 kB / 1.001 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002104/0.002129, allocations: 1.561 MB / 1.002 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0003619/0.002491, allocations: 172.3 kB / 1.002 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.002528, allocations: 4 kB / 1.002 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.002554, allocations: 7.922 kB / 1.002 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.002592, allocations: 7.875 kB / 1.002 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.0029, allocations: 59.75 kB / 1.002 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.002964, allocations: 39.92 kB / 1.002 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.003054, allocations: 11.98 kB / 1.002 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.003092, allocations: 15.98 kB / 1.002 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.00313, allocations: 19.91 kB / 1.003 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.003145, allocations: 4 kB / 1.003 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.00325, allocations: 51.94 kB / 1.003 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.003261, allocations: 4 kB / 1.003 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.003282, allocations: 11.98 kB / 1.003 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.003413, allocations: 75.77 kB / 1.003 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003415, allocations: 4 kB / 1.003 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.32e-07/0.003415, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.003419, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9167 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.0003577/0.003777, allocations: 278.2 kB / 1.003 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.003815, allocations: 17.28 kB / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.003846, allocations: 34.75 kB / 1.003 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.003869, allocations: 4.938 kB / 1.003 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.315e-05/0.003942, allocations: 113.7 kB / 1.003 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.003963, allocations: 4.375 kB / 1.003 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.003972, allocations: 4.375 kB / 1.003 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.00411, allocations: 66.23 kB / 1.003 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.004118, allocations: 4.172 kB / 1.003 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004127, allocations: 384 / 1.003 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.004132, allocations: 4.125 kB / 1.003 GB, free: 9.754 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.00423, allocations: 43.95 kB / 1.003 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.004534, allocations: 243.8 kB / 1.003 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.004756, allocations: 62.53 kB / 1.003 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.004808, allocations: 28.83 kB / 1.004 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.00492, allocations: 11.98 kB / 1.004 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.004938, allocations: 38.56 kB / 1.004 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.00494, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002219/0.005162, allocations: 93.56 kB / 1.004 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.005185, allocations: 51.41 kB / 1.004 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.005246, allocations: 117.8 kB / 1.004 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.005256, allocations: 25.7 kB / 1.004 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.005289, allocations: 84.2 kB / 1.004 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.005304, allocations: 11.95 kB / 1.004 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.005329, allocations: 13.72 kB / 1.004 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.005403, allocations: 318.8 kB / 1.004 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.005447, allocations: 15.98 kB / 1.004 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.005487, allocations: 19.97 kB / 1.004 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.468e-05/0.005572, allocations: 56.77 kB / 1.004 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005574, allocations: 0 / 1.004 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001151/0.005689, allocations: 89.47 kB / 1.004 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.0057, allocations: 4 kB / 1.004 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005704, allocations: 0 / 1.004 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.005714, allocations: 0 / 1.004 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.91e-05/0.005753, allocations: 15.92 kB / 1.004 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.005757, allocations: 0 / 1.004 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.005782, allocations: 8 kB / 1.004 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.005786, allocations: 4 kB / 1.004 GB, free: 8.297 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 5.357e-05/0.005839, allocations: 114.7 kB / 1.005 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.005853, allocations: 11.89 kB / 1.005 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.005997, allocations: 85.58 kB / 1.005 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005999, allocations: 384 / 1.005 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.006003, allocations: 0 / 1.005 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006006, allocations: 0 / 1.005 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.006107, allocations: 136.7 kB / 1.005 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006108, allocations: 0 / 1.005 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.00614, allocations: 15.98 kB / 1.005 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006142, allocations: 3.984 kB / 1.005 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.006148, allocations: 0 / 1.005 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006148, allocations: 0 / 1.005 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006149, allocations: 0 / 1.005 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.00628, allocations: 175.4 kB / 1.005 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.006288, allocations: 7.891 kB / 1.005 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.006297, allocations: 4 kB / 1.005 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.006335, allocations: 7.984 kB / 1.005 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.006377, allocations: 11.98 kB / 1.005 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.00638, allocations: 0 / 1.005 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.006408, allocations: 87.28 kB / 1.005 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006408, allocations: 0 / 1.005 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001603/0.006569, allocations: 15.94 kB / 1.005 GB, free: 7.551 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.0003734/0.006942, allocations: 0.7241 MB / 1.006 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.007066, allocations: 43.89 kB / 1.006 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007067, allocations: 0 / 1.006 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.007112, allocations: 31.91 kB / 1.006 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.007298, allocations: 4 kB / 1.006 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.008315, allocations: 1.303 MB / 1.007 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.008359, allocations: 71.19 kB / 1.007 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.008381, allocations: 4.125 kB / 1.007 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.008414, allocations: 16.5 kB / 1.007 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.008414, allocations: 0 / 1.007 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07252/0.08094, allocations: 2.624 MB / 1.01 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.203, allocations: 6.422 kB / 1.01 GB, free: 2.734 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ../Buildings_13_Buildings_Utilities_Math_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.697653976269066]