Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.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.0008242/0.0008242, 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.0008795/0.0008795, 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.9064/0.9064, 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 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.75/1.75, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.374e-05, allocations: 6.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002028/0.002052, allocations: 1.455 MB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004783/0.00253, allocations: 322.8 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.002556, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.002587, allocations: 3.938 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.002626, allocations: 3.984 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.002996, allocations: 111.3 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.003059, allocations: 19.92 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.003144, allocations: 8 kB / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.003191, allocations: 15.98 kB / 0.9828 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3e-05/0.003221, allocations: 3.984 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.003234, allocations: 4 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.00339, allocations: 115.8 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.003403, allocations: 8 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.003419, allocations: 0 / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.003586, allocations: 115.6 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003588, allocations: 0 / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003589, allocations: 0 / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003593, allocations: 3.938 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003267/0.00392, allocations: 282.2 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.003954, allocations: 8.031 kB / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.003983, allocations: 34.75 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.004004, allocations: 4.891 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.292e-05/0.004086, allocations: 105.7 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.004095, allocations: 4.375 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.004103, allocations: 384 / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.004228, allocations: 54.22 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004235, allocations: 192 / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.004242, allocations: 4.375 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.004248, allocations: 4.125 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.00434, allocations: 35.95 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.004614, allocations: 212 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/0.004702, allocations: 38.59 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.004749, allocations: 24.84 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.005101, allocations: 83.92 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005123, allocations: 38.48 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.005124, allocations: 0 / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002259/0.00535, allocations: 85.69 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.005379, allocations: 51.41 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.005433, allocations: 97.84 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.005447, allocations: 25.7 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.005484, allocations: 96.03 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.0055, allocations: 3.953 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.005525, allocations: 17.7 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.0056, allocations: 314.8 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.005641, allocations: 11.98 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.005678, allocations: 24.02 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.005756, allocations: 36.81 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005757, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.005859, allocations: 69.55 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005872, allocations: 4 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.005878, allocations: 4 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.005889, allocations: 8.078 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.005945, allocations: 4 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.00595, allocations: 0 / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.005973, allocations: 7.984 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.005978, allocations: 0 / 0.9848 GB, free: 14.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.186e-05/0.00603, allocations: 113.8 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.006042, allocations: 3.938 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.006172, allocations: 76.91 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006173, allocations: 0 / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.006178, allocations: 3.984 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.00618, allocations: 0 / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.319e-05/0.006273, allocations: 120.8 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006275, allocations: 4 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.006299, allocations: 11.98 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006301, allocations: 3.938 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.006306, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006307, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006308, allocations: 4.031 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.006436, allocations: 163.5 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.006443, allocations: 7.938 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.006452, allocations: 0 / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.006488, allocations: 7.984 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.006518, allocations: 3.938 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.006522, allocations: 7.922 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.006549, allocations: 83.47 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006549, allocations: 3.969 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000174/0.006723, allocations: 35.88 kB / 0.9854 GB, free: 13.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004611/0.007184, allocations: 0.7359 MB / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.007325, allocations: 39.89 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.007327, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.007368, allocations: 15.98 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.00757, allocations: 4 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.008003, allocations: 142.7 kB / 0.9863 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.008049, allocations: 59.36 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.008073, allocations: 11.97 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.008107, allocations: 8.5 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.008107, allocations: 0 / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.02528, allocations: 2.429 MB / 0.9888 GB, free: 10.31 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.666, allocations: 8.938 kB / 0.9888 GB, free: 10.3 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_12_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.801217424683273]