Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.0008633/0.0008633, allocations: 80.55 kB / 19.96 MB, free: 4.59 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.0009641/0.0009641, allocations: 173.2 kB / 23.24 MB, free: 1.312 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.9368/0.9368, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.832/1.832, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.427e-05, allocations: 2.281 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001041/0.001056, allocations: 0.5908 MB / 1.001 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003322/0.001388, allocations: 175.4 kB / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.001401, allocations: 3.938 kB / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.001413, allocations: 0 / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.001419, allocations: 0 / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.001718, allocations: 51.83 kB / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.001752, allocations: 0 / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 2.967e-05/0.001782, allocations: 0 / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.001802, allocations: 4 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.001853, allocations: 3.984 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.001861, allocations: 4 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.001982, allocations: 55.88 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.001993, allocations: 3.938 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.002006, allocations: 0 / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.002098, allocations: 43.88 kB / 1.002 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.0021, allocations: 0 / 1.002 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.3e-07/0.0021, allocations: 0 / 1.002 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.002103, allocations: 0 / 1.002 GB, free: 12.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00021/0.002313, allocations: 246.4 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.002353, allocations: 9.344 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.002385, allocations: 34.75 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.528e-05/0.0024, allocations: 0.9375 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.522e-05/0.002455, allocations: 105.8 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.002465, allocations: 384 / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.002471, allocations: 384 / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.002548, allocations: 30.25 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.002555, allocations: 4.188 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.002563, allocations: 384 / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.002569, allocations: 4.125 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.688e-05/0.002586, allocations: 3.938 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.524e-05/0.002681, allocations: 120.8 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.002714, allocations: 18.58 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.002729, allocations: 8.797 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/0.00309, allocations: 80 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.003105, allocations: 30.56 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.003106, allocations: 0 / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.000176/0.003282, allocations: 37.64 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.003308, allocations: 63.34 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.615e-05/0.003334, allocations: 89.86 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.003342, allocations: 25.7 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.00336, allocations: 80.14 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.003385, allocations: 3.938 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.003406, allocations: 13.72 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.00348, allocations: 314.8 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/0.003487, allocations: 3.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-06/0.003492, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.003515, allocations: 17.05 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.003517, allocations: 4 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.501e-05/0.003552, allocations: 37.59 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.003564, allocations: 8 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.003567, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.003577, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.341e-05/0.00361, allocations: 3.984 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.003618, allocations: 7.922 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-06/0.003626, allocations: 7.984 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.00363, allocations: 0 / 1.003 GB, free: 10.97 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.931e-05/0.003679, allocations: 112.5 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-06/0.003682, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.003739, allocations: 40.64 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.003741, allocations: 4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.003746, allocations: 7.922 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003749, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.548e-05/0.003804, allocations: 116.8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-07/0.003805, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/0.003811, allocations: 4 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.003812, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.003817, allocations: 4.031 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003818, allocations: 0 / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.003819, allocations: 7.875 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.951e-05/0.003858, allocations: 61.12 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-06/0.003862, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.003869, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-06/0.003872, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.003888, allocations: 7.938 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.003889, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.003908, allocations: 79.22 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.003908, allocations: 4.031 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001443/0.004052, allocations: 15.98 kB / 1.003 GB, free: 10.44 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002558/0.004308, allocations: 0.6054 MB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 4.453e-05/0.004352, allocations: 4 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.004353, allocations: 0 / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.004359, allocations: 12.03 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.741e-05/0.004446, allocations: 3.938 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.004643, allocations: 110.6 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.722e-05/0.00467, allocations: 55.36 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.835e-06/0.004678, allocations: 3.938 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.128e-05/0.00469, allocations: 8.5 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.00469, allocations: 0 / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07023/0.07492, allocations: 1.79 MB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.085, allocations: 0 / 1.006 GB, free: 7.891 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.620046788826585]